[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: python-cachelib: Update to 0.4.1.
From: |
guix-commits |
Subject: |
08/08: gnu: python-cachelib: Update to 0.4.1. |
Date: |
Mon, 8 Nov 2021 15:37:33 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 590074a74973277599e848b59ad4089169d3a125
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 8 16:45:48 2021 +0200
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.
---
gnu/packages/python-xyz.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6cf42f1..dfa2bb0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11157,16 +11157,25 @@ signature of a file or buffer.")
(define-public python-cachelib
(package
(name "python-cachelib")
- (version "0.1.1")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cachelib" version))
(sha256
- (base32 "0vs7nimlbhqy9kjcc90nswkhs3kgl28ag19jssx9qwlcsrkmmsa7"))))
+ (base32 "0p4chkvbvffcllsny5rpzmsq2vyr24ql3kzif4ha0fxp3fp7vqk8"))))
(build-system python-build-system)
(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")
(synopsis "Collection of cache libraries")
(description "Cachelib is a library extracted from @code{werkzeug} which
- branch master updated (b6e1ba6 -> 590074a), guix-commits, 2021/11/08
- 02/08: gnu: hypercorn: Update to 0.11.2., guix-commits, 2021/11/08
- 01/08: gnu: python-hypercorn: Remove "python-" prefix from name., guix-commits, 2021/11/08
- 03/08: gnu: hypercorn: Honor #:tests? in 'check' phase., guix-commits, 2021/11/08
- 04/08: gnu: Add python-filetype., guix-commits, 2021/11/08
- 06/08: gnu: Add python-emoji., guix-commits, 2021/11/08
- 05/08: gnu: Add python-immutabledict., guix-commits, 2021/11/08
- 08/08: gnu: python-cachelib: Update to 0.4.1.,
guix-commits <=
- 07/08: gnu: Add python-cachelib., guix-commits, 2021/11/08