diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-16 12:01:05 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-22 13:48:46 +0000 |
| commit | cdbfa0aaf9a9332b01aaaa9e0d4465f6ff5f798b (patch) | |
| tree | 4724096b1b2c9c14b94f51f68de3c48b49965d28 /gnu/packages/python-compression.scm | |
| parent | ad3047777210cf275896c672f25bbbdc082a4560 (diff) | |
gnu: python-py7zr: Update to 1.0.0rc3.
* gnu/packages/python-compression.scm (python-py7zr): Update to 1.0.0rc3.
[arguments]<#:phases>: Add phase 'relax-requirements to avoid a brotli
world-rebuild.
[propagated-inputs]: Remove python-importlib-metadata.
[native-inputs]: Remove python-setuptools, python-pyannotate,
python-wheel. Add python-pypa-build, python-pytest-httpserver,
python-setuptools.
Change-Id: Ica508a96a74c4684938df232c81c45c9b61b4e6a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5bbbd67295b..0e6ecd9705b 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -559,23 +559,29 @@ several possible methods.") (define-public python-py7zr (package (name "python-py7zr") - (version "0.20.2") + (version "1.0.0rc3") (source (origin (method url-fetch) (uri (pypi-uri "py7zr" version)) (sha256 (base32 - "0lwniinfr3rb10n0c203a09vz06vxnnj637yqn8ipdlml89gj7kr")))) + "04ff0jc0d0b4r2r5yidcfnx30qabi41k5s04v4h4y7rfb6yd40ac")))) (build-system pyproject-build-system) (arguments (list #:test-flags - #~(list "--ignore=tests/test_benchmark.py"))) + #~(list "--ignore=tests/test_benchmark.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("(brotli|brotlicffi)>=.*;" _ name) + (string-append name ";")))))))) (propagated-inputs (list python-brotli python-brotlicffi - python-importlib-metadata python-inflate64 python-multivolumefile python-psutil @@ -585,16 +591,16 @@ several possible methods.") python-pyzstd python-texttable)) (native-inputs - (list python-setuptools - python-libarchive-c + (list python-libarchive-c python-py-cpuinfo - python-pyannotate + python-pypa-build python-pytest python-pytest-benchmark + python-pytest-httpserver python-pytest-remotedata python-pytest-timeout - python-setuptools-scm - python-wheel)) + python-setuptools + python-setuptools-scm)) (home-page "https://github.com/miurahr/py7zr") (synopsis "7-zip in Python") (description "This package provides py7zr, which implements 7-zip |
