summary refs log tree commit diff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-14 13:26:21 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-14 13:26:21 +0200
commit302e7b7820606de4cd7034ea367c2028a8fca4e2 (patch)
tree5273d93eef02c7b78aa16a9b6ae6dce9d734cc2e /gnu/packages/bioinformatics.scm
parent7e303658d70e6af97d5bf967db6ee17e4cf23871 (diff)
downloadguix-302e7b7820606de4cd7034ea367c2028a8fca4e2.tar.gz
gnu: python-pybigwig: Update to 0.3.22.
* gnu/packages/bioinformatics.scm (python-pybigwig): Update to 0.3.22.
[source]: Simplify snippet.
[arguments]: Explicitly disable tests; simplify 'link-with-libBigWig phase.
[build-system]: Use pyproject-build-system.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm20
1 files changed, 9 insertions, 11 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 86696d7c14..1e9abd3c63 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3679,28 +3679,26 @@ files.")
 (define-public python-pybigwig
   (package
     (name "python-pybigwig")
-    (version "0.3.17")
+    (version "0.3.22")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "pyBigWig" version))
               (sha256
                (base32
-                "157x6v48y299zm382krf1dw08fdxg95im8lnabhp5vc94s04zxj1"))
+                "0hr25lkp26mk0fp7irdjdrdsd5lann9kyv0xq9npyyxxakvjci2x"))
               (modules '((guix build utils)))
               (snippet
-               '(begin
-                  ;; Delete bundled libBigWig sources
-                  (delete-file-recursively "libBigWig")
-                  #t))))
-    (build-system python-build-system)
+               ;; Delete bundled libBigWig sources
+               '(delete-file-recursively "libBigWig"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
+     '(#:tests? #false      ;only one test exists and it needs internet access
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'link-with-libBigWig
-           (lambda* (#:key inputs #:allow-other-keys)
+           (lambda _
              (substitute* "setup.py"
-               (("libs=\\[") "libs=[\"BigWig\", "))
-             #t)))))
+               (("libs=\\[") "libs=[\"BigWig\", ")))))))
     (propagated-inputs
      (list python-numpy))
     (inputs