gnu: python-loompy: Update to 2.0.17.
* gnu/packages/bioinformatics.scm (python-loompy): Update to 2.0.17. [source]: Fetch via git. [arguments]: Enable tests, replace "check" phase. [propagated-inputs]: Add python-pandas. [native-inputs]: Add python-pytest.
This commit is contained in:
parent
1f058eced3
commit
55a0a3c853
|
@ -11945,21 +11945,35 @@ variational inference.")
|
||||||
(define-public python-loompy
|
(define-public python-loompy
|
||||||
(package
|
(package
|
||||||
(name "python-loompy")
|
(name "python-loompy")
|
||||||
(version "2.0.2")
|
(version "2.0.17")
|
||||||
(source
|
;; The tarball on Pypi does not include the tests.
|
||||||
(origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "loompy" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/linnarsson-lab/loompy.git")
|
||||||
(base32
|
(commit version)))
|
||||||
"1drgv8j1hxqzzpnfg272x9djb6j8qr798w1pc2x8ikmfgyd9gh51"))))
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"12a5kjgiikapv93wahfw0frszx1lblnppyz3vs5gy8fgmgngra07"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; There are no tests
|
(arguments
|
||||||
(arguments '(#:tests? #f))
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH"
|
||||||
|
(string-append (getcwd) ":"
|
||||||
|
(getenv "PYTHONPATH")))
|
||||||
|
(invoke "pytest" "tests")
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-h5py" ,python-h5py)
|
`(("python-h5py" ,python-h5py)
|
||||||
("python-numpy" ,python-numpy)
|
("python-numpy" ,python-numpy)
|
||||||
|
("python-pandas" ,python-pandas)
|
||||||
("python-scipy" ,python-scipy)))
|
("python-scipy" ,python-scipy)))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)))
|
||||||
(home-page "https://github.com/linnarsson-lab/loompy")
|
(home-page "https://github.com/linnarsson-lab/loompy")
|
||||||
(synopsis "Work with .loom files for single-cell RNA-seq data")
|
(synopsis "Work with .loom files for single-cell RNA-seq data")
|
||||||
(description "The loom file format is an efficient format for very large
|
(description "The loom file format is an efficient format for very large
|
||||||
|
|
Loading…
Reference in New Issue