aboutsummaryrefslogtreecommitdiff
path: root/tests/test.drv
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2022-01-20 20:11:56 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-26 17:54:58 +0100
commitbac9f8302c65802a576f733cc48829edb33019d8 (patch)
treefc006b0305b91a330d68d92589ce3f1aab9eb6ad /tests/test.drv
parent8b7bd459dc7f86cf2a9569c35efb4a5d845d63ed (diff)
downloadguix-bac9f8302c65802a576f733cc48829edb33019d8.tar.gz
guix-bac9f8302c65802a576f733cc48829edb33019d8.zip
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>
Diffstat (limited to 'tests/test.drv')
0 files changed, 0 insertions, 0 deletions