~ruther/guix-local

346be6481e2ea480f873b02bdf17db4a74095543 — Sharlatan Hellseher 6 months ago fcac316
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
1 files changed, 8 insertions(+), 11 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +8 -11
@@ 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")