gnu: python-bx-python: Update to 0.9.0.

* gnu/packages/bioinformatics.scm (python-bx-python): Update to 0.9.0.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'build-extensions and 'disable-cython-doctests.
[native-inputs]: Replace python-nose with python-pytest.
This commit is contained in:
Ricardo Wurmus 2022-12-13 16:29:48 +01:00
parent de30c74b63
commit b339e181e1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2252,23 +2252,34 @@ (define-public bwa-meth
(define-public python-bx-python
(package
(name "python-bx-python")
(version "0.8.12")
(version "0.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bxlab/bx-python")
(commit "f4e6a5c93e719db69b5798b6fdd9b167da358316")))
(commit "4f4a48d3f227ae390c1b22072867ba86e347bdef")))
(file-name (git-file-name name version))
(sha256
(base32
"0mclahslz34vq9x424jmzsxk0nmpm1j716fa8h3zwr9ssvch7skc"))))
(build-system python-build-system)
"1c914rw8phiw7zwzngz9i9hdciz5lq53drwdbpl2bd2sf5bj2biy"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-before 'check 'build-extensions
(lambda _
;; Cython extensions have to be built before running the tests.
(invoke "python" "setup.py" "build_ext" "--inplace")))
;; Unrecognized argument.
(add-after 'unpack 'disable-cython-doctests
(lambda _ (substitute* "pytest.ini" (("--doctest-cython") "")))))))
(propagated-inputs
(list python-numpy))
(inputs
(list zlib))
(native-inputs
(list python-lzo python-nose python-cython))
(list python-cython python-lzo python-pytest))
(home-page "https://github.com/bxlab/bx-python")
(synopsis "Tools for manipulating biological data")
(description