[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: gnu: phast: Simplify by using G-expression.
From: |
guix-commits |
Subject: |
02/15: gnu: phast: Simplify by using G-expression. |
Date: |
Fri, 12 May 2023 17:25:43 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 5d446e439dfe1aa1a0ff68d52ed0f16ef3490e2f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 12 22:23:23 2023 +0200
gnu: phast: Simplify by using G-expression.
* gnu/packages/bioinformatics.scm (phast)[arguments]: Use G-expression and
drop trailing #T from build phases.
---
gnu/packages/bioinformatics.scm | 75 ++++++++++++++++++++---------------------
1 file changed, 37 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b3576159ed..99344b168a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17902,44 +17902,43 @@ containing the reference genome as well.")
"10lpbllvny923jjbbyrpxahhd1m5h7sbj9gx7rd123rg10mlidki"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- ,#~(list "CC=gcc"
- (string-append "DESTDIR=" #$output))
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Fix syntax
- (substitute* "test/Makefile"
- ((" ") " "))
- (substitute* "Makefile"
- (("CLAPACKPATH=/usr/lib")
- (string-append "CLAPACKPATH="
- (assoc-ref inputs "clapack") "/lib")))
- ;; Renaming the libraries is not necessary with our version of
- ;; CLAPACK.
- (substitute* "src/lib/Makefile"
- (("ifdef CLAPACKPATH") "ifdef UNNECESSARY"))
- (substitute* "src/make-include.mk"
- (("-lblaswr") "-lblas")
- (("-ltmg") "-ltmglib")
- (("liblapack.a") "liblapack.so")
- (("libblas.a") "libblas.so")
- (("libf2c.a") "libf2c.so"))
- (substitute* "src/Makefile"
- (("/opt") "/share")
- (("/usr/") "/"))
- #t))
- (replace 'check
- (lambda _
- (setenv "PATH"
- (string-append (getcwd) "/bin:" (getenv "PATH")))
- ;; Disable broken test
- (substitute* "test/Makefile"
- ((".*if.*hmrc_summary" m) (string-append "#" m)))
- ;; Only run the msa_view tests because the others fail for
- ;; unknown reasons.
- (invoke "make" "-C" "test" "msa_view"))))))
+ (list
+ #:make-flags
+ #~(list "CC=gcc" (string-append "DESTDIR=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Fix syntax
+ (substitute* "test/Makefile"
+ ((" ") " "))
+ (substitute* "Makefile"
+ (("CLAPACKPATH=/usr/lib")
+ (string-append "CLAPACKPATH="
+ #$(this-package-input "clapack") "/lib")))
+ ;; Renaming the libraries is not necessary with our version of
+ ;; CLAPACK.
+ (substitute* "src/lib/Makefile"
+ (("ifdef CLAPACKPATH") "ifdef UNNECESSARY"))
+ (substitute* "src/make-include.mk"
+ (("-lblaswr") "-lblas")
+ (("-ltmg") "-ltmglib")
+ (("liblapack.a") "liblapack.so")
+ (("libblas.a") "libblas.so")
+ (("libf2c.a") "libf2c.so"))
+ (substitute* "src/Makefile"
+ (("/opt") "/share")
+ (("/usr/") "/"))))
+ (replace 'check
+ (lambda _
+ (setenv "PATH"
+ (string-append (getcwd) "/bin:" (getenv "PATH")))
+ ;; Disable broken test
+ (substitute* "test/Makefile"
+ ((".*if.*hmrc_summary" m) (string-append "#" m)))
+ ;; Only run the msa_view tests because the others fail for
+ ;; unknown reasons.
+ (invoke "make" "-C" "test" "msa_view"))))))
(inputs
(list clapack))
(native-inputs
- branch master updated (0e20ed322d -> d67a3622ef), guix-commits, 2023/05/12
- 01/15: gnu: ribotaper: Simplify with G-expression., guix-commits, 2023/05/12
- 03/15: gnu: methyldackel: Simplify arguments., guix-commits, 2023/05/12
- 02/15: gnu: phast: Simplify by using G-expression.,
guix-commits <=
- 06/15: gnu: samblaster: Update to 0.1.26., guix-commits, 2023/05/12
- 04/15: gnu: methyldackel: Update to 0.6.1., guix-commits, 2023/05/12
- 07/15: gnu: multichoose: Clean up., guix-commits, 2023/05/12
- 08/15: gnu: arriba: Use SEARCH-INPUT-FILE and -DIRECTORY., guix-commits, 2023/05/12
- 11/15: gnu: python-seaborn: Simplify by using pyproject-build-system., guix-commits, 2023/05/12
- 12/15: gnu: python-pyproject-metadata: Simplify by using pyproject-build-system., guix-commits, 2023/05/12
- 14/15: gnu: python-orjson: Reuse phases from pyproject-build-system., guix-commits, 2023/05/12
- 09/15: gnu: jamm: Use G-expression., guix-commits, 2023/05/12
- 10/15: gnu: shrinkwrap: Use pyproject-build-system., guix-commits, 2023/05/12
- 15/15: gnu: python-orjson: Fix version string of Python module., guix-commits, 2023/05/12