[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-click: Update to 7.1.2.
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-click: Update to 7.1.2. |
Date: |
Mon, 20 Jul 2020 09:31:53 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 099516c gnu: python-click: Update to 7.1.2.
099516c is described below
commit 099516cb3b4e054dd52258625af3027ef609e0c2
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Thu Jul 16 14:43:29 2020 +0200
gnu: python-click: Update to 7.1.2.
* gnu/packages/python-xyz.scm (python-click): Update to 7.1.2.
[arguments] Fix the name of the file to modify. Set PYTHONPATH to make
tests pass.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-xyz.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6afe0b..f55f888 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2429,14 +2429,14 @@ interfaces.")
(define-public python-click
(package
(name "python-click")
- (version "7.0")
+ (version "7.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "click" version))
(sha256
(base32
- "1mzjixd4vjbjvzb6vylki9w1556a9qmdh35kzmq6cign46av952v"))))
+ "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -2445,12 +2445,13 @@ interfaces.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((glibc (assoc-ref inputs ,(if (%current-target-system)
"cross-libc" "libc"))))
- (substitute* "click/_unicodefun.py"
+ (substitute* "src/click/_unicodefun.py"
(("'locale'")
(string-append "'" glibc "/bin/locale'"))))
#t))
(replace 'check
(lambda _
+ (setenv "PYTHONPATH" (string-append "./src:" (getenv
"PYTHONPATH")))
(invoke "python" "-m" "pytest"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-click: Update to 7.1.2.,
guix-commits <=