gnu: python-xxhash: Update to 3.5.0.

* gnu/packages/digest.scm (python-xxhash): Update to 3.5.0.
[arguments] <test-backend>: Use 'unittest.
<phases>: Add 'build-extensions.
[native-inputs]: Remove python-setuptools-scm and python-wheel.

Change-Id: I7f4f5e3f06886318ec11ad3064aba381b7b1245f
This commit is contained in:
Sharlatan Hellseher 2025-09-20 20:52:35 +01:00
parent 5ffcd05cb2
commit 2324624329
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -106,20 +106,24 @@ platforms (both big and little endian).")
(define-public python-xxhash (define-public python-xxhash
(package (package
(name "python-xxhash") (name "python-xxhash")
(version "3.1.0") (version "3.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "xxhash" version)) (uri (pypi-uri "xxhash" version))
(sha256 (sha256
(base32 (base32 "0pxlc37x0rrw3vl8yhf638wqcpfg9jfsh8ifvkwcpjaiz7fwmwl4"))))
"1hdxcscry59gh0znlm71ya23mm9rfmvz8lvvlplzxzf63pib28dc"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
;; Needed to embed the correct version string (arguments
(list
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'build-extensions
(lambda _
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
(native-inputs (native-inputs
(list python-setuptools-scm (list python-setuptools))
python-setuptools
python-wheel))
(home-page "https://github.com/ifduyue/python-xxhash") (home-page "https://github.com/ifduyue/python-xxhash")
(synopsis "Python binding for xxHash") (synopsis "Python binding for xxHash")
(description "This package provides Python bindings for the xxHash hash (description "This package provides Python bindings for the xxHash hash