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.master
parent
7e303658d7
commit
302e7b7820
|
@ -3679,28 +3679,26 @@ files.")
|
||||||
(define-public python-pybigwig
|
(define-public python-pybigwig
|
||||||
(package
|
(package
|
||||||
(name "python-pybigwig")
|
(name "python-pybigwig")
|
||||||
(version "0.3.17")
|
(version "0.3.22")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyBigWig" version))
|
(uri (pypi-uri "pyBigWig" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"157x6v48y299zm382krf1dw08fdxg95im8lnabhp5vc94s04zxj1"))
|
"0hr25lkp26mk0fp7irdjdrdsd5lann9kyv0xq9npyyxxakvjci2x"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
;; Delete bundled libBigWig sources
|
||||||
;; Delete bundled libBigWig sources
|
'(delete-file-recursively "libBigWig"))))
|
||||||
(delete-file-recursively "libBigWig")
|
(build-system pyproject-build-system)
|
||||||
#t))))
|
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:tests? #false ;only one test exists and it needs internet access
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'link-with-libBigWig
|
(add-after 'unpack 'link-with-libBigWig
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("libs=\\[") "libs=[\"BigWig\", "))
|
(("libs=\\[") "libs=[\"BigWig\", ")))))))
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy))
|
(list python-numpy))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue