guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/28: gnu: Add python-bx-python.


From: Ricardo Wurmus
Subject: 04/28: gnu: Add python-bx-python.
Date: Sun, 21 Oct 2018 17:06:57 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit f5cec0068a7e6f9ca1b7542d1839b832ee057648
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Oct 21 12:36:53 2018 +0200

    gnu: Add python-bx-python.
    
    * gnu/packages/bioinformatics.scm (python-bx-python): New variable.
    (python2-bx-python): Define in terms of python-bx-python.
---
 gnu/packages/bioinformatics.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index dee8a97..7cd9172 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1474,9 +1474,9 @@ the original BWA alignment program and shares the genome 
index structure as
 well as many of the command line options.")
     (license license:gpl3+)))
 
-(define-public python2-bx-python
+(define-public python-bx-python
   (package
-    (name "python2-bx-python")
+    (name "python-bx-python")
     (version "0.8.2")
     (source (origin
               (method url-fetch)
@@ -1485,18 +1485,17 @@ well as many of the command line options.")
                (base32
                 "11kksg2rbzihpmcid823xvg42xi88m7sz58rzk29abybkxy0rszs"))))
     (build-system python-build-system)
-    (arguments
-     `(#:tests? #f ;tests fail because test data are not included
-       #:python ,python-2))
+    ;; Tests fail because test data are not included
+    (arguments '(#:tests? #f))
     (propagated-inputs
-     `(("python-numpy" ,python2-numpy)
-       ("python-six" ,python2-six)))
+     `(("python-numpy" ,python-numpy)
+       ("python-six" ,python-six)))
     (inputs
      `(("zlib" ,zlib)))
     (native-inputs
-     `(("python-lzo" ,python2-lzo)
-       ("python-nose" ,python2-nose)
-       ("python-cython" ,python2-cython)))
+     `(("python-lzo" ,python-lzo)
+       ("python-nose" ,python-nose)
+       ("python-cython" ,python-cython)))
     (home-page "https://github.com/bxlab/bx-python";)
     (synopsis "Tools for manipulating biological data")
     (description
@@ -1504,6 +1503,9 @@ well as many of the command line options.")
 multiple sequence alignments.")
     (license license:expat)))
 
+(define-public python2-bx-python
+  (package-with-python2 python-bx-python))
+
 (define-public python-pysam
   (package
     (name "python-pysam")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]