From 2c1f0d09c200dc21e0df16b193a10e0cdac9f67e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 28 Jan 2019 12:05:13 +0100 Subject: gnu: python2-backport-ssl-match-hostname: Use PYPI-URI. * gnu/packages/python-xyz.scm (python2-backport-ssl-match-hostname)[source]: Use PYPI-URI. --- gnu/packages/python-xyz.scm | 5 +---- 1 file changed, 1 insertion(+), 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 @@ (define-public python2-backport-ssl-match-hostname (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")))) -- cgit v1.2.3