[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/204: gnu: python-click: Update to 8.1.2 and honor TESTS?.
From: |
guix-commits |
Subject: |
90/204: gnu: python-click: Update to 8.1.2 and honor TESTS?. |
Date: |
Wed, 20 Apr 2022 02:03:25 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit b5bfa381ca04d3e9e26ab5af59cee22b1aac2d10
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 10 13:58:42 2022 -0400
gnu: python-click: Update to 8.1.2 and honor TESTS?.
* 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 @@ interfaces.")
(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 @@ composable way with as little code as necessary. Its
name stands for
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")
- 124/204: gnu: texlive-fontspec: Add missing propagated inputs., (continued)
- 124/204: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/20
- 132/204: gnu: Add python-cbor2., guix-commits, 2022/04/20
- 139/204: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/20
- 133/204: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/04/20
- 156/204: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/20
- 176/204: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/20
- 188/204: gnu: Remove python2-jmespath., guix-commits, 2022/04/20
- 189/204: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/20
- 195/204: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/20
- 70/204: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/20
- 90/204: gnu: python-click: Update to 8.1.2 and honor TESTS?.,
guix-commits <=
- 108/204: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/20
- 143/204: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/20
- 145/204: gnu: Add python-dictpath., guix-commits, 2022/04/20
- 146/204: gnu: Add python-openapi-core., guix-commits, 2022/04/20
- 147/204: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/20
- 148/204: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/20
- 93/204: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/20
- 101/204: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/20
- 111/204: gnu: Add texlive-unicode-math., guix-commits, 2022/04/20
- 114/204: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/20