mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: umi-tools: Fix tests.
* gnu/packages/bioinformatics.scm (umi-tools)[arguments] <test-flags>: Skip style and broken test files. <phases>: Add 'fix-bash-path and 'build-extensions. [native-inputs]: Remove python-wheel; add python-cython, python-pyaml, and python-pytest. Change-Id: I96da9eaed696bc94999e41cffe88a47500542754
This commit is contained in:
parent
2605ef607e
commit
e5579dc5de
1 changed files with 22 additions and 3 deletions
|
@ -21816,16 +21816,32 @@ throughput chromatin profiles. Typical use cases include:
|
||||||
(package
|
(package
|
||||||
(name "umi-tools")
|
(name "umi-tools")
|
||||||
(version "1.1.6")
|
(version "1.1.6")
|
||||||
|
;; TODO: Delete generated Cython C files.
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/CGATOxford/UMI-tools")
|
(url "https://github.com/CGATOxford/UMI-tools")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1liykfj4msvcgk8an5qq802jcxwlijqxrvijipqj1pwpxqzl9qnh"))))
|
(base32 "1liykfj4msvcgk8an5qq802jcxwlijqxrvijipqj1pwpxqzl9qnh"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "--ignore=tests/test_style.py"
|
||||||
|
"--ignore=step1_unit_test.py")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-bash-path
|
||||||
|
(lambda _
|
||||||
|
(substitute* "tests/test_umi_tools.py"
|
||||||
|
(("/bin/bash")
|
||||||
|
(which "sh")))))
|
||||||
|
(add-before 'check 'build-extensions
|
||||||
|
(lambda _
|
||||||
|
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-pandas
|
(list python-pandas
|
||||||
python-future
|
python-future
|
||||||
|
@ -21836,7 +21852,10 @@ throughput chromatin profiles. Typical use cases include:
|
||||||
python-scipy
|
python-scipy
|
||||||
python-pysam))
|
python-pysam))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools python-wheel))
|
(list python-cython
|
||||||
|
python-pyaml
|
||||||
|
python-pytest
|
||||||
|
python-setuptools))
|
||||||
(home-page "https://github.com/CGATOxford/UMI-tools")
|
(home-page "https://github.com/CGATOxford/UMI-tools")
|
||||||
(synopsis "Tools for analyzing unique modular identifiers")
|
(synopsis "Tools for analyzing unique modular identifiers")
|
||||||
(description "This package provides tools for dealing with @dfn{Unique
|
(description "This package provides tools for dealing with @dfn{Unique
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue