Vivien Kraus bac9f8302c
import: pypi: Convert hyphens to underscores in PyPI URLs if needed.
* guix/import/pypi.scm (find-project-url): New function.
(make-pypi-sexp): Use find-project-url.
* tests/pypi.scm (foo-json): New procedure.
(test-json-1, test-json-2): Define in terms of it.
("find-project-url, with numpy", "find-project-url, uWSGI"):
("find-project-url, flake8-array-spacing")
("find-project-url, foo/goo"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-01-26 17:54:58 +01:00
..
2021-09-17 01:27:40 +02:00
2021-09-18 19:37:45 +02:00
2021-09-28 22:00:47 +02:00
2021-09-21 15:15:52 +02:00
2022-01-16 23:56:56 +01:00
2021-04-12 18:42:22 +02:00
2021-12-17 21:04:25 -08:00
2021-12-23 10:54:00 +01:00
2021-08-12 12:34:13 +02:00