guix-commits
[Top][All Lists]
Advanced

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

12/26: gnu: python2-backport-ssl-match-hostname: Use PYPI-URI.


From: guix-commits
Subject: 12/26: gnu: python2-backport-ssl-match-hostname: Use PYPI-URI.
Date: Mon, 28 Jan 2019 06:24:40 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 2c1f0d09c200dc21e0df16b193a10e0cdac9f67e
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jan 28 12:05:13 2019 +0100

    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 e9b8b94..548be29 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"))))



reply via email to

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