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 | |
| 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')
| -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.") | |||
| 559 | (define-public python-py7zr | 559 | (define-public python-py7zr |
| 560 | (package | 560 | (package |
| 561 | (name "python-py7zr") | 561 | (name "python-py7zr") |
| 562 | (version "0.20.2") | 562 | (version "1.0.0rc3") |
| 563 | (source | 563 | (source |
| 564 | (origin | 564 | (origin |
| 565 | (method url-fetch) | 565 | (method url-fetch) |
| 566 | (uri (pypi-uri "py7zr" version)) | 566 | (uri (pypi-uri "py7zr" version)) |
| 567 | (sha256 | 567 | (sha256 |
| 568 | (base32 | 568 | (base32 |
| 569 | "0lwniinfr3rb10n0c203a09vz06vxnnj637yqn8ipdlml89gj7kr")))) | 569 | "04ff0jc0d0b4r2r5yidcfnx30qabi41k5s04v4h4y7rfb6yd40ac")))) |
| 570 | (build-system pyproject-build-system) | 570 | (build-system pyproject-build-system) |
| 571 | (arguments | 571 | (arguments |
| 572 | (list | 572 | (list |
| 573 | #:test-flags | 573 | #:test-flags |
| 574 | #~(list "--ignore=tests/test_benchmark.py"))) | 574 | #~(list "--ignore=tests/test_benchmark.py") |
| 575 | #:phases | ||
| 576 | #~(modify-phases %standard-phases | ||
| 577 | (add-after 'unpack 'relax-requirements | ||
| 578 | (lambda _ | ||
| 579 | (substitute* "pyproject.toml" | ||
| 580 | (("(brotli|brotlicffi)>=.*;" _ name) | ||
| 581 | (string-append name ";")))))))) | ||
| 575 | (propagated-inputs | 582 | (propagated-inputs |
| 576 | (list python-brotli | 583 | (list python-brotli |
| 577 | python-brotlicffi | 584 | python-brotlicffi |
| 578 | python-importlib-metadata | ||
| 579 | python-inflate64 | 585 | python-inflate64 |
| 580 | python-multivolumefile | 586 | python-multivolumefile |
| 581 | python-psutil | 587 | python-psutil |
| @@ -585,16 +591,16 @@ several possible methods.") | |||
| 585 | python-pyzstd | 591 | python-pyzstd |
| 586 | python-texttable)) | 592 | python-texttable)) |
| 587 | (native-inputs | 593 | (native-inputs |
| 588 | (list python-setuptools | 594 | (list python-libarchive-c |
| 589 | python-libarchive-c | ||
| 590 | python-py-cpuinfo | 595 | python-py-cpuinfo |
| 591 | python-pyannotate | 596 | python-pypa-build |
| 592 | python-pytest | 597 | python-pytest |
| 593 | python-pytest-benchmark | 598 | python-pytest-benchmark |
| 599 | python-pytest-httpserver | ||
| 594 | python-pytest-remotedata | 600 | python-pytest-remotedata |
| 595 | python-pytest-timeout | 601 | python-pytest-timeout |
| 596 | python-setuptools-scm | 602 | python-setuptools |
| 597 | python-wheel)) | 603 | python-setuptools-scm)) |
| 598 | (home-page "https://github.com/miurahr/py7zr") | 604 | (home-page "https://github.com/miurahr/py7zr") |
| 599 | (synopsis "7-zip in Python") | 605 | (synopsis "7-zip in Python") |
| 600 | (description "This package provides py7zr, which implements 7-zip | 606 | (description "This package provides py7zr, which implements 7-zip |
