diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-07-26 17:49:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-07-26 17:49:34 +0200 |
commit | 8173ceee1f31ab562118ff5171254a4b73b71400 (patch) | |
tree | eba237bd3f70991c87996dcc24ed998f5d333b58 /guix/scripts/environment.scm | |
parent | debc6360e111e8efc8a938b2aef28e5b3616ada8 (diff) | |
download | guix-patches-8173ceee1f31ab562118ff5171254a4b73b71400.tar guix-patches-8173ceee1f31ab562118ff5171254a4b73b71400.tar.gz |
import: pypi: Correctly handle new-style URLs.
Fixes <http://bugs.gnu.org/23997>.
* guix/import/pypi.scm (guix-package->pypi-name): Rewrite using
'basename' and 'hyphen-package-name->name+version'.
* tests/pypi.scm ("guix-package->pypi-name, old URL style")
("guix-package->pypi-name, new URL style"): New tests.
Diffstat (limited to 'guix/scripts/environment.scm')
0 files changed, 0 insertions, 0 deletions