gnu: python-bwapy: Fix build.

* gnu/packages/bioinformatics.scm (python-bwapy): Fix build.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: No tests.
<phases>: Remove 'relax-requirements.
[propagated-inputs]: Remove python-wheel.

Change-Id: I2dcf8eac974fca113ef15b4f1267dc8bd7837a96
This commit is contained in:
Sharlatan Hellseher 2025-09-21 18:32:12 +01:00
parent 88bf02a473
commit 46729ac0ae
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24505,19 +24505,16 @@ sequences")
(modules '((guix build utils)))
(snippet
'(for-each delete-file (find-files "." "\\.o$")))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.py"
(("wheel>=0.34") "wheel>=0.30"))))
;; TODO: it's possible that the import error points to a real
;; problem with the C sources.
(delete 'sanity-check))))
(list #:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
;; TODO: it's possible that the import error points to a real
;; problem with the C sources.
(delete 'sanity-check))))
(propagated-inputs
(list python-cffi python-setuptools python-wheel))
(list python-cffi python-setuptools))
(inputs
(list zlib))
(home-page "https://github.com/ACEnglish/bwapy")