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.
This commit is contained in:
parent
934c5d5b28
commit
8ea8e8d3c3
|
@ -9097,10 +9097,7 @@ to provide a high-level synchronous API on top of the libev event loop.")
|
||||||
(version "16.2.0")
|
(version "16.2.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list (pypi-uri "Twisted" version ".tar.bz2") ; 404
|
(uri (pypi-uri "Twisted" version ".tar.bz2"))
|
||||||
(string-append
|
|
||||||
"https://pypi.io/packages/source/T/Twisted/"
|
|
||||||
"Twisted-" version ".tar.bz2")))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450"))))
|
"0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450"))))
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
"Return a URI string for the Python package hosted on the Python Package
|
"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
|
Index (PyPI) corresponding to NAME and VERSION. EXTENSION is the file name
|
||||||
extension, such as '.tar.gz'."
|
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 "/"
|
(string-take name 1) "/" name "/"
|
||||||
name "-" version extension))
|
name "-" version extension))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue