diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-05 17:50:23 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-07 17:36:42 +0200 |
commit | 35426e7fec38a088d91066dcf1f992574ce0a945 (patch) | |
tree | e9137fda600292eb1aa29d98e0c86135c1e45258 | |
parent | ac3a8b0a5b68f668570b27b32d695842d3a4f0c2 (diff) | |
download | guix-35426e7fec38a088d91066dcf1f992574ce0a945.tar guix-35426e7fec38a088d91066dcf1f992574ce0a945.tar.gz |
gnu: python-zopfli: Update to 0.2.1.
* gnu/packages/python-compression.scm (python-zopfli): Update to 0.2.1.
[arguments]: Use pytest in check phase.
[native-inputs]: Add PYTHON-PYTEST.
-rw-r--r-- | gnu/packages/python-compression.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 0504dd0b2a..1426ad9f09 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -397,13 +397,13 @@ wrapper. It provides a backport of the @code{Path} object.") (define-public python-zopfli (package (name "python-zopfli") - (version "0.1.9") + (version "0.2.1") (source (origin (method url-fetch) (uri (pypi-uri "zopfli" version ".zip")) (sha256 - (base32 "0yqdwvlpbvhhri0qmzag076ddi0sv43qjlk17l0siylfib03rpkq")))) + (base32 "1ipjkcgdbplsrhr31ypk48px8cax4cm9gcjj7yrcrhg20ql3s9p5")))) (build-system python-build-system) (arguments (list @@ -417,8 +417,8 @@ wrapper. It provides a backport of the @code{Path} object.") (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "tests/tests.py" "-v"))))))) - (native-inputs (list unzip python-setuptools-scm)) + (invoke "pytest" "-vv"))))))) + (native-inputs (list unzip python-pytest python-setuptools-scm)) (inputs (list zopfli)) (home-page "https://github.com/fonttools/py-zopfli") (synopsis "Python bindings for Zopfli") |