[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?.
From: |
guix-commits |
Subject: |
90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?. |
Date: |
Tue, 19 Apr 2022 09:12:24 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit e34772b8a83efcecdfa6edb9774d12f0bbc31571
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?.
---
gnu/packages/python-xyz.scm | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7f9d6e4be..4f4bc8b527 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
- 84/166: gnu: Add python-ufo2ft., (continued)
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 15/166: gnu: Add texlive-makecmds., guix-commits, 2022/04/19
- 53/166: gnu: Add python-jaraco-context., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 35/166: gnu: Add python-ufonormalizer., guix-commits, 2022/04/19
- 56/166: gnu: Add python-path., guix-commits, 2022/04/19
- 75/166: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/19
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 79/166: gnu: Add python-cffsubr., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?.,
guix-commits <=
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 64/166: gnu: Add psautohint., guix-commits, 2022/04/19
- 93/166: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/19
- 61/166: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/19
- 33/166: gnu: Add python-cu2qu., guix-commits, 2022/04/19
- 62/166: gnu: Add python-pytest-randomly., guix-commits, 2022/04/19
- 105/166: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/19
- 118/166: gnu: Add python-nbdime., guix-commits, 2022/04/19
- 122/166: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/19
- 100/166: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/19