mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
ecf7b3f65b
commit
37d6642612
1 changed files with 13 additions and 14 deletions
|
@ -237,6 +237,7 @@
|
||||||
#:use-module (gnu packages java)
|
#:use-module (gnu packages java)
|
||||||
#:use-module (gnu packages jupyter)
|
#:use-module (gnu packages jupyter)
|
||||||
#:use-module (gnu packages kerberos)
|
#:use-module (gnu packages kerberos)
|
||||||
|
#:use-module (gnu packages less)
|
||||||
#:use-module (gnu packages libevent)
|
#:use-module (gnu packages libevent)
|
||||||
#:use-module (gnu packages libffi)
|
#:use-module (gnu packages libffi)
|
||||||
#:use-module (gnu packages libusb)
|
#:use-module (gnu packages libusb)
|
||||||
|
@ -7034,23 +7035,21 @@ interfaces.")
|
||||||
(define-public python-click
|
(define-public python-click
|
||||||
(package
|
(package
|
||||||
(name "python-click")
|
(name "python-click")
|
||||||
(version "8.1.7")
|
(version "8.1.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "click" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/pallets/click")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1wqkkim5gmhdrc62c79s5gbzz2x60l1bf9aacpakfv6rr1zjl054"))))
|
||||||
"1pm6khdv88h764scik67jki98xbyj367h591j8hpwy4y8nnm766a"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs
|
||||||
(arguments
|
(list less
|
||||||
`(#:phases
|
python-flit-core
|
||||||
(modify-phases %standard-phases
|
python-pytest))
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv")))))))
|
|
||||||
(native-inputs (list python-pytest))
|
|
||||||
(home-page "https://palletsprojects.com/p/click/")
|
(home-page "https://palletsprojects.com/p/click/")
|
||||||
(synopsis "Command line library for Python")
|
(synopsis "Command line library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue