diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-05 10:18:28 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:51 +0100 |
| commit | 03e4cee54d9179fffb7299d92fee8b212e0d801d (patch) | |
| tree | 064928c611426ddf003516f862b10bcd4e6df3b3 /gnu/packages/python-compression.scm | |
| parent | 0ac41884fe56bbd9666b2093c80ab69f84ecfae1 (diff) | |
gnu: python-zstandard: Update to 0.23.0.
* gnu/packages/python-compression.scm (python-zstandard): Update to 0.23.0.
[build-system]: Use pyproject.
[arguments] <phases>: Add 'patch-build-system, and 'build-extensions.
[native-inputs]: Remove python-hypothesis; add python-pytest and
python-setuptools.
Change-Id: I5008064aa44880330928e25bd64eb90486633548
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index f00594e2c2..80f81840b0 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -949,18 +949,30 @@ generator") (define-public python-zstandard (package (name "python-zstandard") - (version "0.19.0") + (version "0.23.0") (source (origin (method url-fetch) (uri (pypi-uri "zstandard" version)) (sha256 - (base32 "0qvqhs121spk7yc1l20samflxx47waxv3xm55ksxpn1djk6jzl9i")))) - (build-system python-build-system) + (base32 "02dwqq5dw73zypvwpadscra8x6rwbglblh57yxl5y9g710nwdn5j")))) + (build-system pyproject-build-system) + ;; TODO: Unbunle zstd. + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-build-system + (lambda _ + (substitute* "pyproject.toml" + ((":__legacy__") "")))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (native-inputs + (list python-pytest python-setuptools)) (propagated-inputs (list python-cffi)) - (native-inputs - (list python-hypothesis)) (home-page "https://github.com/indygreg/python-zstandard") (synopsis "Zstandard bindings for Python") (description "This project provides Python bindings for interfacing with |
