[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?. |
Date: |
Sun, 24 Apr 2022 23:56:56 -0400 |
* gnu/packages/python-xyz.scm (python-click): Update to 8.1.2.
[phases]{fix-paths}: Remove obsolete phase.
{check}: Invoke pytest directly and honor TESTS?.
(python2-click): Delete variable.
---
gnu/packages/python-xyz.scm | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7f9d6e4be..a6e9f64ff3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3503,30 +3503,23 @@ (define-public python-cli-helpers
(define-public python-click
(package
(name "python-click")
- (version "7.1.2")
+ (version "8.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "click" version))
(sha256
(base32
- "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj"))))
+ "0whs38a2i0561kwbgigs6vic9r0a1887m2v1aw3rmv6r2kz0g5s7"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((glibc (assoc-ref inputs ,(if (%current-target-system)
- "cross-libc" "libc"))))
- (substitute* "src/click/_unicodefun.py"
- (("'locale'")
- (string-append "'" glibc "/bin/locale'"))))))
(replace 'check
- (lambda _
- (invoke "python" "-m" "pytest"))))))
- (native-inputs
- (list python-pytest))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest))
(home-page "https://palletsprojects.com/p/click/")
(synopsis "Command line library for Python")
(description
@@ -3536,9 +3529,6 @@ (define-public python-click
with sensible defaults out of the box.")
(license license:bsd-3)))
-(define-public python2-click
- (package-with-python2 python-click))
-
(define-public python-click-5
(package (inherit python-click)
(name "python-click")
--
2.34.0
- [bug#55104] [PATCH 064/232] gnu: Add psautohint., (continued)
- [bug#55104] [PATCH 064/232] gnu: Add psautohint., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 066/232] gnu: Add python-xdoctest., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 068/232] gnu: python-setuptools: Update to 62.0.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 069/232] gnu: python-pathpy: Deprecate by python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 051/232] gnu: python-pytest-checkdocs: Update to 2.7.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 071/232] gnu: python-pytest-cov: Update to 3.0.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 073/232] gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 080/232] gnu: Add skia., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 078/232] gnu: Add python-afdko., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 087/232] gnu: Add font-sil-ezra., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 091/232] gnu: python-flask: Update to 2.1.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 088/232] gnu: Add texlive-bidi., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 095/232] gnu: python-trio: Update to 0.20.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 098/232] gnu: python-greenlet: Update to 1.1.2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 099/232] gnu: Add python-pytest-forked-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 100/232] gnu: python-pytest-xdist-next: Update to 2.5.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 101/232] gnu: Add python-ipyparallel-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 070/232] gnu: python-pytest-shutil: Adjust to use python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 074/232] gnu: python-scipy: Move input fields below arguments field., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 082/232] gnu: Add python-ufolib2., Maxim Cournoyer, 2022/04/25