gnu: python-blosc: Update to 1.11.1.

* gnu/packages/python-xyz.scm (python-blosc): Update to 1.11.1.
[source]: Update snippet.
[arguments]: Adjust custom 'find-blosc phase.
[propagated-inputs]: Add python-scikit-build.
This commit is contained in:
Efraim Flashner 2023-06-14 12:08:04 +03:00
parent 071ee5856d
commit 3573c82747
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -25230,17 +25230,17 @@ (define-public python-locket
(define-public python-blosc
(package
(name "python-blosc")
(version "1.5.1")
(version "1.11.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "blosc" version))
(sha256
(base32
"1cm91c6r431yla2mbs4895bgiianjf30dfz14vvv99dslygd65jw"))
"0xmjs28sgpnb940zrhw010dq2m9d8a5h4fgnjyk6645fgfr1j8f2"))
(snippet
#~(begin (use-modules (guix build utils))
(delete-file-recursively "c-blosc")))))
(delete-file-recursively "blosc/c-blosc")))))
(build-system python-build-system)
;; FIXME: all tests pass, but then this error is printed:
;; TypeError: calling <function run at 0x7ffff2568d90> returned None, not a test
@ -25250,9 +25250,10 @@ (define-public python-blosc
#~(modify-phases %standard-phases
(add-after 'unpack 'find-blosc
(lambda* (#:key inputs #:allow-other-keys)
(setenv "BLOSC_DIR" #$(this-package-input "c-blosc")))))))
(setenv "USE_SYSTEM_BLOSC" "1")
(setenv "Blosc_ROOT" #$(this-package-input "c-blosc")))))))
(propagated-inputs
(list python-numpy))
(list python-scikit-build python-numpy))
(inputs (list c-blosc))
(home-page "https://github.com/blosc/python-blosc")
(synopsis "Python wrapper for the Blosc data compressor library")