[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: |
Wed, 11 May 2022 18:02:56 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 9046e7b8b412e4b1d2dced63c65f15d6c213612f
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 b428a08190..4fd5da460c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3505,30 +3505,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
@@ -3538,9 +3531,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")
- 62/242: gnu: Add python-pytest-randomly., (continued)
- 62/242: gnu: Add python-pytest-randomly., guix-commits, 2022/05/11
- 65/242: gnu: Add python-ordered-set., guix-commits, 2022/05/11
- 68/242: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/05/11
- 86/242: gnu: Add font-amiri., guix-commits, 2022/05/11
- 73/242: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/05/11
- 77/242: gnu: Add python-fonttools-next., guix-commits, 2022/05/11
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/11
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/11
- 91/242: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/05/11
- 94/242: gnu: pylint: Run tests in parallel., guix-commits, 2022/05/11
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?.,
guix-commits <=
- 76/242: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/05/11
- 85/242: gnu: Add python-sfdlib., guix-commits, 2022/05/11
- 97/242: gnu: Add python-debugpy., guix-commits, 2022/05/11
- 100/242: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/05/11
- 102/242: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/05/11
- 103/242: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/05/11
- 104/242: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/05/11
- 105/242: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/05/11
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/11
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio., guix-commits, 2022/05/11