import: pypi: Preserve package name case when forming pypi-uri.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 31 Mar 2019 00:27:35 +0000 (20:27 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Tue, 2 Jul 2019 01:08:00 +0000 (10:08 +0900)
commit4b60ab8c006964d026dee8cf5f1260eba0b2bb81
tree9f686d3256d1c575ea2ad2f65f9b26bcb78e3721
parenta5376200541abf8245973e601be246bf65b8b6c7
import: pypi: Preserve package name case when forming pypi-uri.

Fixes <https://bugs.gnu.org/33046>.

* guix/build-system/python.scm (pypi-uri): Update the host URI to
"files.pythonhosted.org".
* guix/import/pypi.scm (make-pypi-sexp): Preserve the package name case when
the source URL calls for it.
guix/import/pypi.scm