mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-cachelib: Update to 0.4.1.
* gnu/packages/python-xyz.scm (python-cachelib): Update to 0.4.1. [arguments]: Enable tests. [native-inputs]: Add python-pytest and python-pytest-xprocess.
This commit is contained in:
parent
71dc19d9cb
commit
590074a749
1 changed files with 12 additions and 3 deletions
|
@ -11157,16 +11157,25 @@ signature of a file or buffer.")
|
||||||
(define-public python-cachelib
|
(define-public python-cachelib
|
||||||
(package
|
(package
|
||||||
(name "python-cachelib")
|
(name "python-cachelib")
|
||||||
(version "0.1.1")
|
(version "0.4.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "cachelib" version))
|
(uri (pypi-uri "cachelib" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0vs7nimlbhqy9kjcc90nswkhs3kgl28ag19jssx9qwlcsrkmmsa7"))))
|
(base32 "0p4chkvbvffcllsny5rpzmsq2vyr24ql3kzif4ha0fxp3fp7vqk8"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ;no tests
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "pytest")))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)
|
||||||
|
("python-pytest-xprocess" ,python-pytest-xprocess)))
|
||||||
(home-page "https://github.com/pallets/cachelib")
|
(home-page "https://github.com/pallets/cachelib")
|
||||||
(synopsis "Collection of cache libraries")
|
(synopsis "Collection of cache libraries")
|
||||||
(description "Cachelib is a library extracted from @code{werkzeug} which
|
(description "Cachelib is a library extracted from @code{werkzeug} which
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue