[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?.
From: |
guix-commits |
Subject: |
90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?. |
Date: |
Thu, 12 May 2022 14:14:12 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 2b22de8923d2f7a605b51a47013cc77d616547cc
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 9d103f1003..b1ce2a66e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3515,30 +3515,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
@@ -3548,9 +3541,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")
- 43/242: gnu: Add python-pytest-freezegun., (continued)
- 43/242: gnu: Add python-pytest-freezegun., guix-commits, 2022/05/12
- 56/242: gnu: Add python-path., guix-commits, 2022/05/12
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/12
- 55/242: gnu: Add python-pytest-enabler., guix-commits, 2022/05/12
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/12
- 98/242: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/05/12
- 87/242: gnu: Add font-sil-ezra., guix-commits, 2022/05/12
- 105/242: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/05/12
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/12
- 93/242: gnu: python-black: Update to 22.3.0., guix-commits, 2022/05/12
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?.,
guix-commits <=
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/12
- 101/242: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/05/12
- 83/242: gnu: Add python-compreffor., guix-commits, 2022/05/12
- 106/242: gnu: Add python-pytest-tornado., guix-commits, 2022/05/12
- 91/242: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/05/12
- 120/242: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/05/12
- 116/242: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/05/12
- 122/242: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/05/12
- 126/242: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/05/12
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/12