summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-22 17:06:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-27 21:42:21 +0000
commit4fb5164f8e97f8840536c7c953f54370bc6295cc (patch)
tree310a69b9655439cd9c03dbb22d3f6504d8b89131 /gnu
parent06e34decdbc01fa9f9ea02007d86062dfd387353 (diff)
gnu: python-pytools: Update to 2025.2.5.
* gnu/packages/opencl.scm (python-pytools): Update to 2025.2.5. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-hatchling.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/opencl.scm23
1 files changed, 14 insertions, 9 deletions
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index b857a14caad..9e5dfec4706 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -42,6 +42,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages ruby)
@@ -268,18 +269,22 @@ pocl.")
(define-public python-pytools
(package
(name "python-pytools")
- (version "2021.2.7")
+ (version "2025.2.5")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytools" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inducer/pytools")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1yyr4k6sqx859gjhc02633l2vxwdnj6m2f5blmf7dgq0gzzgcf05"))))
- (build-system python-build-system)
- (arguments `(#:tests? #f)) ; Tests depend on packages not present in Guix.
- (propagated-inputs
- (list python-appdirs python-numpy))
- (home-page "https://pypi.org/project/pytools/")
+ (base32 "1sym2vbkw068ldkjqi3qj1dkbvd047bk5ir028qqbv0g7z3dwk31"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;Tests depend on packages not present in Guix.
+ (native-inputs (list python-hatchling))
+ (propagated-inputs (list python-appdirs python-numpy))
+ (home-page "https://github.com/inducer/pytools")
(synopsis "Assorted tools for Python")
(description
"Pytools is a bag of things that are ``missing'' from the Python standard