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 @@ (define-public python-matplotlib-venn
three-way Venn diagrams in @code{matplotlib}.")
(license license:expat)))
(define-public python2-pysnptools
(define-public python-pysnptools
(package
(name "python2-pysnptools")
(version "0.3.13")
(name "python-pysnptools")
(version "0.4.11")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pysnptools" version))
(sha256
(base32
"0lnis5xsl7bi0hz4f7gbicahzi5zlxkc21nk3g374xv8fb5hb3qm"))))
"0gxr0bjix307wvk0qh7vkafbxbzfpdmq0wlswpxyyaymy0fwcypv"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2 ; only Python 2.7 is supported
#:tests? #f)) ; test files (e.g. examples/toydata.bim) not included
`(#:tests? #f ; no test data are 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
`(("python2-numpy" ,python2-numpy)
("python2-scipy" ,python2-scipy)
("python2-pandas" ,python2-pandas)))
`(("python-dill" ,python-dill)
("python-h5py" ,python-h5py)
("python-numpy" ,python-numpy)
("python-pandas" ,python-pandas)
("python-psutil" ,python-psutil)
("python-scipy" ,python-scipy)))
(native-inputs
`(("python2-cython" ,python2-cython)))
`(("python-cython" ,python-cython)))
(home-page "http://microsoftgenomics.github.io/PySnpTools/")
(synopsis "Library for reading and manipulating genetic data")
(description
@ -4906,6 +4917,9 @@ (define-public python2-pysnptools
operators such as union, intersection, and difference.")
(license license:asl2.0)))
(define-public python2-pysnptools
(package-with-python2 python-pysnptools))
(define-public python-socksipy-branch
(package
(name "python-socksipy-branch")