From f5cec0068a7e6f9ca1b7542d1839b832ee057648 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 21 Oct 2018 12:36:53 +0200 Subject: 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 dee8a975b9..7cd9172446 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") -- cgit v1.2.3