summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 12:05:13 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 12:24:25 +0100
commit2c1f0d09c200dc21e0df16b193a10e0cdac9f67e (patch)
tree59f8e2d69e7eb7679be4b038733c567f097bd383
parentfc283a5e0aef71e7ae4e418a523577c1eb3e0fe7 (diff)
downloadpatches-2c1f0d09c200dc21e0df16b193a10e0cdac9f67e.tar
patches-2c1f0d09c200dc21e0df16b193a10e0cdac9f67e.tar.gz
gnu: python2-backport-ssl-match-hostname: Use PYPI-URI.
* gnu/packages/python-xyz.scm (python2-backport-ssl-match-hostname)[source]: Use PYPI-URI.
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e9b8b94053..548be29792 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -321,10 +321,7 @@ etc. ")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/b/"
- "backports.ssl_match_hostname/backports.ssl_match_hostname-"
- version ".tar.gz"))
+ (uri (pypi-uri "backports.ssl_match_hostname" version))
(sha256
(base32
"1wndipik52cyqy0677zdgp90i435pmvwd89cz98lm7ri0y3xjajh"))))