summary refs log tree commit diff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 12:06:39 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 12:24:25 +0100
commit1cc184e6eb2d6b4ffd652e7f0421242cbe463654 (patch)
treeefe614cec7255ba5c897ffaa7d2b9de508fa7d38 /gnu/packages/python-xyz.scm
parent8318bf07407cf5e9919b4ef14ae97ba1ef5e77f9 (diff)
downloadguix-1cc184e6eb2d6b4ffd652e7f0421242cbe463654.tar.gz
gnu: python2-mechanize: Use PYPI-URI.
* gnu/packages/python-xyz.scm (python2-mechanize)[source]: Use PYPI-URI.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d399031fb1..9c73f1103f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -998,8 +998,7 @@ doing practical, real world data analysis in Python.")
     (source
      (origin
       (method url-fetch)
-      (uri (string-append "https://pypi.python.org/packages/source/m/mechanize/mechanize-"
-                          version ".tar.gz"))
+      (uri (pypi-uri "mechanize" version))
       (sha256
        (base32
         "0rj7r166i1dyrq0ihm5rijfmvhs8a04im28lv05c0c3v206v4rrf"))))