me
/
guix
Archived
1
0
Fork 0

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.
master
Marius Bakke 2022-09-05 17:50:23 +02:00
parent ac3a8b0a5b
commit 35426e7fec
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 4 deletions

View File

@ -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")