guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: python-publicsuffix2: Update to 2.20191221.


From: guix-commits
Subject: 03/05: gnu: python-publicsuffix2: Update to 2.20191221.
Date: Thu, 16 Jan 2020 21:58:21 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit df01360f7897e8eacdc4c1156443018b15f42fdc
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Jan 17 00:08:41 2020 +0100

    gnu: python-publicsuffix2: Update to 2.20191221.
    
    * gnu/packages/python-web.scm (python-publicsuffix2): Update to
    2.20191221.
    [arguments]: Add ‘ignore-maintainer-inputs’ phase.
---
 gnu/packages/python-web.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 179e64e..611c85a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2015 Cyril Roelandt <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <address@hidden>
 ;;; Copyright © 2016, 2019 Hartmut Goebel <address@hidden>
-;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice 
<address@hidden>
 ;;; Copyright © 2015, 2017 Ben Woodcroft <address@hidden>
 ;;; Copyright © 2015, 2016 Christopher Allan Webber <address@hidden>
 ;;; Copyright © 2017 Adriano Peluso <address@hidden>
@@ -2748,17 +2748,26 @@ List.")
 (define-public python-publicsuffix2
   (package
     (name "python-publicsuffix2")
-    (version "2.20160818")
+    (version "2.20191221")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "publicsuffix2" version ".tar.bz2"))
+       (uri (pypi-uri "publicsuffix2" version))
        (sha256
-        (base32
-         "1bb55yka9vkn7i6y1kjzxa516kh6v4gsrxa90w5wdz5p5n968r68"))))
+        (base32 "0yzysvfj1najr1mb4pcqrbmjir3xpb69rlffln95a3cdm8qwry00"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f)) ; The test suite requires network access.
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'ignore-maintainer-inputs
+           (lambda _
+             ;; Comment out a demand for python-requests, which is used only by
+             ;; the unused ‘update_psl’ helper command.
+             (substitute* "setup.py"
+               (("'requests " match)
+                (format "# ~a" match)))
+             #t)))
+       #:tests? #f))                  ; the test suite requires network access
     (home-page "https://github.com/pombredanne/python-publicsuffix2";)
     (synopsis "Get a public suffix for a domain name using the Public Suffix 
List")
     (description "Get a public suffix for a domain name using the Public Suffix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]