[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: blast+: Use INVOKE and return #T unconditionally.
From: |
Ricardo Wurmus |
Subject: |
08/09: gnu: blast+: Use INVOKE and return #T unconditionally. |
Date: |
Sat, 20 Oct 2018 17:40:12 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit f45093429c8319475b22c5478ea6b719b7c97cb8
Author: Ricardo Wurmus <address@hidden>
Date: Sat Oct 20 22:22:28 2018 +0200
gnu: blast+: Use INVOKE and return #T unconditionally.
* gnu/packages/bioinformatics.scm (blast+)[arguments]: Use INVOKE and
return #T unconditionally.
---
gnu/packages/bioinformatics.scm | 59 +++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a77eaea..66e0686 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1071,15 +1071,12 @@ package provides command line tools using the Bio++
library.")
#:parallel-build? #f ; not supported
#:phases
(modify-phases %standard-phases
- (add-before
- 'configure 'set-HOME
+ (add-before 'configure 'set-HOME
;; $HOME needs to be set at some point during the configure phase
(lambda _ (setenv "HOME" "/tmp") #t))
- (add-after
- 'unpack 'enter-dir
+ (add-after 'unpack 'enter-dir
(lambda _ (chdir "c++") #t))
- (add-after
- 'enter-dir 'fix-build-system
+ (add-after 'enter-dir 'fix-build-system
(lambda _
(define (which* cmd)
(cond ((string=? cmd "date")
@@ -1127,31 +1124,31 @@ package provides command line tools using the Bio++
library.")
(("action=/bin/") "action=")
(("export PATH") ":"))
#t))
- (replace
- 'configure
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (lib (string-append (assoc-ref outputs "lib") "/lib"))
- (include (string-append (assoc-ref outputs "include")
- "/include/ncbi-tools++")))
- ;; The 'configure' script doesn't recognize things like
- ;; '--enable-fast-install'.
- (zero? (system* "./configure.orig"
- (string-append "--with-build-root=" (getcwd)
"/build")
- (string-append "--prefix=" out)
- (string-append "--libdir=" lib)
- (string-append "--includedir=" include)
- (string-append "--with-bz2="
- (assoc-ref inputs "bzip2"))
- (string-append "--with-z="
- (assoc-ref inputs "zlib"))
- (string-append "--with-pcre="
- (assoc-ref inputs "pcre"))
- ;; Each library is built twice by default, once
- ;; with "-static" in its name, and again
- ;; without.
- "--without-static"
- "--with-dll"))))))))
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (lib (string-append (assoc-ref outputs "lib") "/lib"))
+ (include (string-append (assoc-ref outputs "include")
+ "/include/ncbi-tools++")))
+ ;; The 'configure' script doesn't recognize things like
+ ;; '--enable-fast-install'.
+ (invoke "./configure.orig"
+ (string-append "--with-build-root=" (getcwd) "/build")
+ (string-append "--prefix=" out)
+ (string-append "--libdir=" lib)
+ (string-append "--includedir=" include)
+ (string-append "--with-bz2="
+ (assoc-ref inputs "bzip2"))
+ (string-append "--with-z="
+ (assoc-ref inputs "zlib"))
+ (string-append "--with-pcre="
+ (assoc-ref inputs "pcre"))
+ ;; Each library is built twice by default, once
+ ;; with "-static" in its name, and again
+ ;; without.
+ "--without-static"
+ "--with-dll")
+ #t))))))
(outputs '("out" ; 21 MB
"lib" ; 226 MB
"include")) ; 33 MB
- branch master updated (bfa47f1 -> 21c8374), Ricardo Wurmus, 2018/10/20
- 03/09: gnu: clipper: Update to 1.2.1., Ricardo Wurmus, 2018/10/20
- 08/09: gnu: blast+: Use INVOKE and return #T unconditionally.,
Ricardo Wurmus <=
- 09/09: gnu: bowtie: Update to 2.3.4.3., Ricardo Wurmus, 2018/10/20
- 01/09: gnu: Add bedtools-2.26., Ricardo Wurmus, 2018/10/20
- 06/09: gnu: bedops: Use INVOKE., Ricardo Wurmus, 2018/10/20
- 04/09: gnu: aragorn: Use invoke and simplify., Ricardo Wurmus, 2018/10/20
- 02/09: gnu: python-pybedtools: Update to 0.7.10., Ricardo Wurmus, 2018/10/20
- 05/09: gnu: bamm: Fetch from git and use INVOKE., Ricardo Wurmus, 2018/10/20
- 07/09: gnu: bedops: Update to 2.4.35., Ricardo Wurmus, 2018/10/20