gnu: python2-pysnptools: Update to 0.4.11.

* gnu/packages/python-xyz.scm (python2-pysnptools): Update to 0.4.11;
implement in terms of...
(python-pysnptools): ...this new variable.
[propagated-inputs]: Add python-dill, python-h5py, and python-psutil.
This commit is contained in:
Ricardo Wurmus 2020-04-30 13:06:01 +02:00
parent 46d07f8472
commit cf1ae79375
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4876,27 +4876,38 @@ toolkits.")
three-way Venn diagrams in @code{matplotlib}.") three-way Venn diagrams in @code{matplotlib}.")
(license license:expat))) (license license:expat)))
(define-public python2-pysnptools (define-public python-pysnptools
(package (package
(name "python2-pysnptools") (name "python-pysnptools")
(version "0.3.13") (version "0.4.11")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pysnptools" version)) (uri (pypi-uri "pysnptools" version))
(sha256 (sha256
(base32 (base32
"0lnis5xsl7bi0hz4f7gbicahzi5zlxkc21nk3g374xv8fb5hb3qm")))) "0gxr0bjix307wvk0qh7vkafbxbzfpdmq0wlswpxyyaymy0fwcypv"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:python ,python-2 ; only Python 2.7 is supported `(#:tests? #f ; no test data are included
#:tests? #f)) ; test files (e.g. examples/toydata.bim) not included #:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(if tests?
(begin
(add-installed-pythonpath inputs outputs)
(invoke "python3" "pysnptools/test.py"))
#t))))))
(propagated-inputs (propagated-inputs
`(("python2-numpy" ,python2-numpy) `(("python-dill" ,python-dill)
("python2-scipy" ,python2-scipy) ("python-h5py" ,python-h5py)
("python2-pandas" ,python2-pandas))) ("python-numpy" ,python-numpy)
("python-pandas" ,python-pandas)
("python-psutil" ,python-psutil)
("python-scipy" ,python-scipy)))
(native-inputs (native-inputs
`(("python2-cython" ,python2-cython))) `(("python-cython" ,python-cython)))
(home-page "http://microsoftgenomics.github.io/PySnpTools/") (home-page "http://microsoftgenomics.github.io/PySnpTools/")
(synopsis "Library for reading and manipulating genetic data") (synopsis "Library for reading and manipulating genetic data")
(description (description
@ -4906,6 +4917,9 @@ those files. It can also efficiently manipulate ranges of integers using set
operators such as union, intersection, and difference.") operators such as union, intersection, and difference.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python2-pysnptools
(package-with-python2 python-pysnptools))
(define-public python-socksipy-branch (define-public python-socksipy-branch
(package (package
(name "python-socksipy-branch") (name "python-socksipy-branch")