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
parent
ac3a8b0a5b
commit
35426e7fec
|
@ -397,13 +397,13 @@ wrapper. It provides a backport of the @code{Path} object.")
|
||||||
(define-public python-zopfli
|
(define-public python-zopfli
|
||||||
(package
|
(package
|
||||||
(name "python-zopfli")
|
(name "python-zopfli")
|
||||||
(version "0.1.9")
|
(version "0.2.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "zopfli" version ".zip"))
|
(uri (pypi-uri "zopfli" version ".zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0yqdwvlpbvhhri0qmzag076ddi0sv43qjlk17l0siylfib03rpkq"))))
|
(base32 "1ipjkcgdbplsrhr31ypk48px8cax4cm9gcjj7yrcrhg20ql3s9p5"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -417,8 +417,8 @@ wrapper. It provides a backport of the @code{Path} object.")
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "python" "tests/tests.py" "-v")))))))
|
(invoke "pytest" "-vv")))))))
|
||||||
(native-inputs (list unzip python-setuptools-scm))
|
(native-inputs (list unzip python-pytest python-setuptools-scm))
|
||||||
(inputs (list zopfli))
|
(inputs (list zopfli))
|
||||||
(home-page "https://github.com/fonttools/py-zopfli")
|
(home-page "https://github.com/fonttools/py-zopfli")
|
||||||
(synopsis "Python bindings for Zopfli")
|
(synopsis "Python bindings for Zopfli")
|
||||||
|
|
Reference in New Issue