Archived
1
0
Fork 0

gnu: python-cachy: Update to 0.3.0.

* gnu/packages/python-xyz.scm (python-cachy): Update to 0.3.0.
[arguments]: Replace the 'check' phase.
[native-inputs]: Add memcached and python-pifpaf.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Tanguy Le Carrour 2020-03-21 12:26:28 +01:00 committed by Leo Famulari
parent f5879f158c
commit c298118860
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -11213,18 +11213,26 @@ strings require only one extra byte in addition to the strings themselves.")
(define-public python-cachy (define-public python-cachy
(package (package
(name "python-cachy") (name "python-cachy")
(version "0.2.0") (version "0.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "cachy" version)) (uri (pypi-uri "cachy" version))
(sha256 (sha256
(base32 (base32
"0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp")))) "1cb9naly8ampzlky7h74n5wj628l7jkpsh0c0jz0namlrvs82r8q"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "pifpaf" "run" "memcached" "--port" "11211" "--"
"pytest"))))))
(native-inputs (native-inputs
`(("python-fakeredis" ,python-fakeredis) `(("memcached" ,memcached)
("python-fakeredis" ,python-fakeredis)
("python-flexmock" ,python-flexmock) ("python-flexmock" ,python-flexmock)
("python-pifpaf" ,python-pifpaf)
("python-pytest" ,python-pytest))) ("python-pytest" ,python-pytest)))
(propagated-inputs (propagated-inputs
`(("python-memcached" ,python-memcached) `(("python-memcached" ,python-memcached)