unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42391] [PATCH] gnu: python-click: Update to 7.1.2.
@ 2020-07-16 12:43 Tanguy Le Carrour
  2020-07-20 13:31 ` bug#42391: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Tanguy Le Carrour @ 2020-07-16 12:43 UTC (permalink / raw)
  To: 42391; +Cc: Tanguy Le Carrour

* 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.
---
 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 15d9e097c5..a3561316d2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2425,14 +2425,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
@@ -2441,12 +2441,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)))
-- 
2.27.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#42391: [PATCH] gnu: python-click: Update to 7.1.2.
  2020-07-16 12:43 [bug#42391] [PATCH] gnu: python-click: Update to 7.1.2 Tanguy Le Carrour
@ 2020-07-20 13:31 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-07-20 13:31 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 42391-done

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

Looks good. Patch pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-20 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-16 12:43 [bug#42391] [PATCH] gnu: python-click: Update to 7.1.2 Tanguy Le Carrour
2020-07-20 13:31 ` bug#42391: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).