[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: metabat: Use scons-build-system.
From: |
Arun Isaac |
Subject: |
06/10: gnu: metabat: Use scons-build-system. |
Date: |
Thu, 30 Nov 2017 08:39:14 -0500 (EST) |
arunisaac pushed a commit to branch master
in repository guix.
commit 9364a520ce617424b7548f3688787a66b89d6a05
Author: Arun Isaac <address@hidden>
Date: Fri Nov 17 13:20:21 2017 +0530
gnu: metabat: Use scons-build-system.
* gnu/packages/bioinformatics.scm (metabat): Switch to scons-build-system.
---
gnu/packages/bioinformatics.scm | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4036286..59eedb1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2016 Marius Bakke <address@hidden>
;;; Copyright © 2016 Raoul Bonnal <address@hidden>
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017 Arun Isaac <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -39,6 +40,7 @@
#:use-module (guix build-system python)
#:use-module (guix build-system r)
#:use-module (guix build-system ruby)
+ #:use-module (guix build-system scons)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
@@ -3643,9 +3645,14 @@ form of assemblies or reads.")
(base32
"1hmvdalz3zj5sqqklg0l4npjdv37cv2hsdi1al9iby2ndxjs1b73"))
(patches (search-patches "metabat-fix-compilation.patch"))))
- (build-system gnu-build-system)
+ (build-system scons-build-system)
(arguments
- `(#:phases
+ `(#:scons ,scons-python2
+ #:scons-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ (string-append "BOOST_ROOT=" (assoc-ref %build-inputs "boost")))
+ #:tests? #f ;; Tests are run during the build phase.
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-includes
(lambda _
@@ -3675,30 +3682,13 @@ form of assemblies or reads.")
"/lib'"))
;; Do not distribute README.
(("^env\\.Install\\(idir_prefix, 'README\\.md'\\)") ""))
- #t))
- (delete 'configure)
- (replace 'build
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (mkdir (assoc-ref outputs "out"))
- (zero? (system* "scons"
- (string-append
- "PREFIX="
- (assoc-ref outputs "out"))
- (string-append
- "BOOST_ROOT="
- (assoc-ref inputs "boost"))
- "install"))))
- ;; Check and install are carried out during build phase.
- (delete 'check)
- (delete 'install))))
+ #t)))))
(inputs
`(("zlib" ,zlib)
("perl" ,perl)
("samtools" ,samtools)
("htslib" ,htslib)
("boost" ,boost)))
- (native-inputs
- `(("scons" ,scons)))
(home-page "https://bitbucket.org/berkeleylab/metabat")
(synopsis
"Reconstruction of single genomes from complex microbial communities")
- branch master updated (c5b2905 -> 6e385b7), Arun Isaac, 2017/11/30
- 01/10: gnu: scons: Update to 3.0.1., Arun Isaac, 2017/11/30
- 07/10: gnu: godot: Use scons-build-system., Arun Isaac, 2017/11/30
- 08/10: gnu: pingus: Use scons-build-system., Arun Isaac, 2017/11/30
- 05/10: gnu: serf: Use scons-build-system., Arun Isaac, 2017/11/30
- 09/10: gnu: klick: Use scons-build-system., Arun Isaac, 2017/11/30
- 03/10: gnu: linuxdcpp: Use scons-build-system., Arun Isaac, 2017/11/30
- 06/10: gnu: metabat: Use scons-build-system.,
Arun Isaac <=
- 02/10: build-system: Add scons-build-system., Arun Isaac, 2017/11/30
- 04/10: gnu: gpick: Use scons-build-system., Arun Isaac, 2017/11/30
- 10/10: gnu: mongodb: Use scons-build-system., Arun Isaac, 2017/11/30