summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2025-06-22 15:21:36 -0400
committerjgart <jgart@dismail.de>2025-06-22 15:54:19 -0400
commit8f9750239628e1624f0d9a9573608879bfa21810 (patch)
treeaa09d3c5e629039592f26ac682de46ead147471d /gnu/packages/python-xyz.scm
parent60c6133a98c12b7dec303dfa0675357b1b330b63 (diff)
gnu: python-diskcache: Update to 5.6.3.
* gnu/packages/python-xyz.scm (python-diskcache): Update to 5.6.3. [source]: Use GitHub origin since PyPI missing docs which are needed for tests. [build-system]: Use pyproject-build-system. [native-inputs]: Add required native-inputs. Change-Id: I169c24c02356407902a69cc4937a4761be47b6e6
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 20 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 37950ad7d4..48edbeb029 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4920,17 +4920,30 @@ tasks rather than a standard compliant master implementation.")
(define-public python-diskcache
(package
(name "python-diskcache")
- (version "4.1.0")
+ (version "5.6.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "diskcache" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/grantjenks/python-diskcache")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1q2wz5sj16zgyy1zpq516qgbnfwsavk1pl2qks0f4r62z5cmmvmw"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f)) ;test suite not included in the release
+ "0mird2yj3xbh71g325admxpif9h20w0xgp9hw6ss2bdbzxsykh6m"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-django
+ python-ipython
+ python-matplotlib
+ python-pytest
+ python-pytest-cov
+ python-pytest-django
+ python-pytest-env
+ python-pytest-xdist
+ python-sphinx
+ python-setuptools
+ python-wheel))
(home-page "https://www.grantjenks.com/docs/diskcache/")
(synopsis "Disk and file backed cache library")
(description "DiskCache is a disk and file backed persistent cache.")