guix-commits
[Top][All Lists]
Advanced

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

01/11: guix: python-build-system: Change pypi-uri to use https://pypi.io


From: ???
Subject: 01/11: guix: python-build-system: Change pypi-uri to use https://pypi.io.
Date: Sat, 25 Jun 2016 12:50:10 +0000 (UTC)

iyzsong pushed a commit to branch master
in repository guix.

commit 8ea8e8d3c332d2b187c26762c8e9e7930f6c2cb7
Author: 宋文武 <address@hidden>
Date:   Thu Jun 23 19:23:28 2016 +0800

    guix: python-build-system: Change pypi-uri to use https://pypi.io.
    
    * guix/build-system/python.scm (pypi-uri): Use https://pypi.io.
    * gnu/packages/python.scm (python-twisted)[uri]: Remove https://pypi.io.
---
 gnu/packages/python.scm      |    5 +----
 guix/build-system/python.scm |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4567a91..8c34ff2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9097,10 +9097,7 @@ to provide a high-level synchronous API on top of the 
libev event loop.")
     (version "16.2.0")
     (source (origin
               (method url-fetch)
-              (uri (list (pypi-uri "Twisted" version ".tar.bz2") ; 404
-                         (string-append
-                          "https://pypi.io/packages/source/T/Twisted/";
-                          "Twisted-" version ".tar.bz2")))
+              (uri (pypi-uri "Twisted" version ".tar.bz2"))
               (sha256
                (base32
                 "0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450"))))
diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index c3d6c62..705943e 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -48,7 +48,7 @@
   "Return a URI string for the Python package hosted on the Python Package
 Index (PyPI) corresponding to NAME and VERSION.  EXTENSION is the file name
 extension, such as '.tar.gz'."
-  (string-append "https://pypi.python.org/packages/source/";
+  (string-append "https://pypi.io/packages/source/";
                  (string-take name 1) "/" name "/"
                  name "-" version extension))
 



reply via email to

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