me
/
guix
Archived
1
0
Fork 0

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.
master
Ricardo Wurmus 2023-05-05 12:56:31 +02:00
parent 3efdc84bbd
commit 7dc853269f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 26 additions and 11 deletions

View File

@ -14972,17 +14972,32 @@ bgzipped text file that contains a pair of genomic coordinates per line.")
(define-public python-pyfaidx
(package
(name "python-pyfaidx")
(version "0.5.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyfaidx" version))
(sha256
(base32
"038xi3a6zvrxbyyfpp64ka8pcjgsdq4fgw9cl5lpxbvmm1bzzw2q"))))
(build-system python-build-system)
(propagated-inputs
(list python-six))
(version "0.7.2.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "pyfaidx" version))
(sha256
(base32
"182ia2zg026lgphv68agxm9imw7649z9pdhfn8zkalrxkq5d5w1h"))))
(build-system pyproject-build-system)
(arguments
(list
#: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")
(synopsis "Random access to fasta subsequences")
(description