mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: python-pyfaidx: Update to 0.7.2.1.
* gnu/packages/bioinformatics.scm (python-pyfaidx): Update to 0.7.2.1. [build-system]: Use pyproject-build-system. [arguments]: Ignore tests that require large downloads. [native-inputs]: Remove python-six; add python-fsspec, python-pytest, python-pytest-cov, python-mock, and python-numpy.
This commit is contained in:
parent
3efdc84bbd
commit
7dc853269f
1 changed files with 26 additions and 11 deletions
|
@ -14972,17 +14972,32 @@ (define-public python-pypairix
|
||||||
(define-public python-pyfaidx
|
(define-public python-pyfaidx
|
||||||
(package
|
(package
|
||||||
(name "python-pyfaidx")
|
(name "python-pyfaidx")
|
||||||
(version "0.5.8")
|
(version "0.7.2.1")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (pypi-uri "pyfaidx" version))
|
||||||
(uri (pypi-uri "pyfaidx" version))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32
|
"182ia2zg026lgphv68agxm9imw7649z9pdhfn8zkalrxkq5d5w1h"))))
|
||||||
"038xi3a6zvrxbyyfpp64ka8pcjgsdq4fgw9cl5lpxbvmm1bzzw2q"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
(propagated-inputs
|
(list
|
||||||
(list python-six))
|
#:test-flags
|
||||||
|
;; These tests require the download of large fasta.gz files.
|
||||||
|
'(list "--ignore=tests/test_Fasta_bgzip.py")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-version
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
(("dynamic = \\[\"version\"\\]")
|
||||||
|
(string-append "version = \"" #$version "\""))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-fsspec
|
||||||
|
python-mock
|
||||||
|
python-numpy
|
||||||
|
python-pytest
|
||||||
|
python-pytest-cov))
|
||||||
(home-page "http://mattshirley.com")
|
(home-page "http://mattshirley.com")
|
||||||
(synopsis "Random access to fasta subsequences")
|
(synopsis "Random access to fasta subsequences")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue