summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-16 23:28:10 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:42 +0100
commitb0887f1ebc7eee28b93f49f8ad7e7ae5763e0536 (patch)
tree16f3473a1d0d1130b78cd060692df8c65bbad026 /gnu/packages/python-xyz.scm
parentef06e8f33e0a31e727c5a822f7240e136f43466b (diff)
gnu: python-click: Update to 8.1.8.
* gnu/packages/python-xyz.scm (python-click): Update to 8.1.8. [source]: Switch to git-fetch contacting tests. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [native-inputs]: Add less and python-flit-core. Change-Id: I84caacb3461d3cef221c019975130343a812fe2a
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 58778b8abd..e3d7e5b67d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -237,6 +237,7 @@
#:use-module (gnu packages java)
#:use-module (gnu packages jupyter)
#:use-module (gnu packages kerberos)
+ #:use-module (gnu packages less)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libusb)
@@ -7010,23 +7011,21 @@ interfaces.")
(define-public python-click
(package
(name "python-click")
- (version "8.1.7")
+ (version "8.1.8")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "click" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pallets/click")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1pm6khdv88h764scik67jki98xbyj367h591j8hpwy4y8nnm766a"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv")))))))
- (native-inputs (list python-pytest))
+ (base32 "1wqkkim5gmhdrc62c79s5gbzz2x60l1bf9aacpakfv6rr1zjl054"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list less
+ python-flit-core
+ python-pytest))
(home-page "https://palletsprojects.com/p/click/")
(synopsis "Command line library for Python")
(description