diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-20 20:52:35 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-20 20:52:45 +0100 |
commit | 7456dd305be4e585440623e8f24eb7ad104479d7 (patch) | |
tree | 61268cb6af59f6406eed2593e42a34ff80a4e2cf | |
parent | f5be9b99f75ac57de9dea900b2e66622e6e59a62 (diff) |
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
-rw-r--r-- | gnu/packages/digest.scm | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm index 8e91a9532a..d1cdb058aa 100644 --- a/gnu/packages/digest.scm +++ b/gnu/packages/digest.scm @@ -106,20 +106,24 @@ platforms (both big and little endian).") (define-public python-xxhash (package (name "python-xxhash") - (version "3.1.0") + (version "3.5.0") (source (origin (method url-fetch) (uri (pypi-uri "xxhash" version)) (sha256 - (base32 - "1hdxcscry59gh0znlm71ya23mm9rfmvz8lvvlplzxzf63pib28dc")))) + (base32 "0pxlc37x0rrw3vl8yhf638wqcpfg9jfsh8ifvkwcpjaiz7fwmwl4")))) (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 - (list python-setuptools-scm - python-setuptools - python-wheel)) + (list python-setuptools)) (home-page "https://github.com/ifduyue/python-xxhash") (synopsis "Python binding for xxHash") (description "This package provides Python bindings for the xxHash hash |