diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-02-08 15:58:36 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-02-08 16:17:05 +0100 |
commit | 4eaac4b722b180b433b75127a30b871aaf9f0913 (patch) | |
tree | 07709e7514f1db6fd9aadaeb8cd1fb74b3717189 /tests/graph.scm | |
parent | 750a423996f3471aa4807609256f686c8ebf5584 (diff) | |
download | guix-4eaac4b722b180b433b75127a30b871aaf9f0913.tar guix-4eaac4b722b180b433b75127a30b871aaf9f0913.tar.gz |
import: pypi: Correctly handle multiple-URL origins.
Fixes <https://bugs.gnu.org/25635>.
Reported by Sergei Trofimovich <slyfox@inbox.ru>.
* guix/import/pypi.scm (guix-package->pypi-name)[url->pypi-name]: New
procedure.
Rewrite body to match lists in addition to strings.
* tests/pypi.scm ("guix-package->pypi-name, several URLs"): New test.
Diffstat (limited to 'tests/graph.scm')
0 files changed, 0 insertions, 0 deletions