guix-kreyren/guix/import
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
..
cabal.scm packages: Use '@' in package record printers. 2016-01-28 16:31:38 +01:00
cpan.scm import: cpan: Add updater. 2016-12-12 22:22:33 -06:00
cran.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
crate.scm build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00
elpa.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
gem.scm import: json: Silence json-fetch output. 2016-12-12 22:22:02 -06:00
github.scm import: github: Better tolerate unexpected file extensions. 2017-01-28 00:38:20 +01:00
gnu.scm gnu-maintenance: Replace 'find-packages' with 'find-package' (singular). 2016-06-08 19:07:58 +02:00
hackage.scm import: hackage: Default to https urls. 2016-08-30 22:38:16 +03:00
json.scm import: json: Silence json-fetch output. 2016-12-12 22:22:02 -06:00
pypi.scm import: pypi: Correctly handle multiple-URL origins. 2017-02-08 16:17:05 +01:00
snix.scm import: snix: Use the right 'package-name->name+version'. 2016-03-06 23:16:35 +01:00
utils.scm build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00