summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanguy Le Carrour <tanguy@bioneland.org>2020-03-21 12:26:28 +0100
committerLeo Famulari <leo@famulari.name>2020-03-24 17:10:22 -0400
commitc298118860167fcce47a0d79442b9ee43a80e26a (patch)
tree361e65571fa83d53896578526e3e9520c4342e54
parentf5879f158c98d3082bdd64fd2c1ee2afe9f038d4 (diff)
downloadpatches-c298118860167fcce47a0d79442b9ee43a80e26a.tar
patches-c298118860167fcce47a0d79442b9ee43a80e26a.tar.gz
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>
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0d9249c96e..b388cb6788 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11213,18 +11213,26 @@ strings require only one extra byte in addition to the strings themselves.")
(define-public python-cachy
(package
(name "python-cachy")
- (version "0.2.0")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cachy" version))
(sha256
(base32
- "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+ "1cb9naly8ampzlky7h74n5wj628l7jkpsh0c0jz0namlrvs82r8q"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _ (invoke "pifpaf" "run" "memcached" "--port" "11211" "--"
+ "pytest"))))))
(native-inputs
- `(("python-fakeredis" ,python-fakeredis)
+ `(("memcached" ,memcached)
+ ("python-fakeredis" ,python-fakeredis)
("python-flexmock" ,python-flexmock)
+ ("python-pifpaf" ,python-pifpaf)
("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-memcached" ,python-memcached)