import: pypi: Update the host URI.

* guix/build-system/python.scm (pypi-uri): Update the host URI to
"files.pythonhosted.org".
This commit is contained in:
Maxim Cournoyer 2019-06-16 14:52:25 +09:00
parent d514276b93
commit a537620054
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -50,7 +50,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.org/packages/source/" (string-append "https://files.pythonhosted.org/packages/source/"
(string-take name 1) "/" name "/" (string-take name 1) "/" name "/"
name "-" version extension)) name "-" version extension))