mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
import: pypi: Adjust URIs in tests.
This is a followup to d1e7ca2df8
.
* tests/pypi.scm ("pypi->guix-package")
("pypi->guix-package, wheels"): Expect (pypi-uri "foo" version) for the
'uri' field.
This commit is contained in:
parent
d46c4423f4
commit
b3d8153d39
1 changed files with 2 additions and 4 deletions
|
@ -131,8 +131,7 @@ (define test-metadata
|
||||||
('version "1.0.0")
|
('version "1.0.0")
|
||||||
('source ('origin
|
('source ('origin
|
||||||
('method 'url-fetch)
|
('method 'url-fetch)
|
||||||
('uri (string-append "https://example.com/foo-"
|
('uri ('pypi-uri "foo" 'version))
|
||||||
version ".tar.gz"))
|
|
||||||
('sha256
|
('sha256
|
||||||
('base32
|
('base32
|
||||||
(? string? hash)))))
|
(? string? hash)))))
|
||||||
|
@ -194,8 +193,7 @@ (define test-metadata
|
||||||
('version "1.0.0")
|
('version "1.0.0")
|
||||||
('source ('origin
|
('source ('origin
|
||||||
('method 'url-fetch)
|
('method 'url-fetch)
|
||||||
('uri (string-append "https://example.com/foo-"
|
('uri ('pypi-uri "foo" 'version))
|
||||||
version ".tar.gz"))
|
|
||||||
('sha256
|
('sha256
|
||||||
('base32
|
('base32
|
||||||
(? string? hash)))))
|
(? string? hash)))))
|
||||||
|
|
Loading…
Reference in a new issue