Ludovic Courtès 4eaac4b722
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.
2017-02-08 16:17:05 +01:00
..
2017-01-26 13:49:56 +01:00
2016-12-18 13:39:21 +01:00
2015-11-26 22:35:01 +01:00
2015-10-19 10:10:47 +02:00
2016-09-01 13:40:49 +03:00
2016-09-05 00:06:47 +02:00
2017-01-30 10:52:45 +01:00
2016-07-19 00:07:12 +02:00