gnu: python-testlib: Use PYPI-URI.

* gnu/packages/check.scm (python-testlib)[source]: Use PYPI-URI.
This commit is contained in:
Ricardo Wurmus 2019-01-28 13:41:06 +01:00
parent 9fcedf0792
commit cb539b7c12
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -1305,9 +1305,7 @@ tools for mocking system commands and recording calls to those.")
(source
(origin
(method url-fetch)
(uri (string-append
"https://pypi.python.org/packages/source/t/testlib/testlib-"
version ".zip"))
(uri (pypi-uri "testlib" version ".zip"))
(sha256
(base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
(build-system python-build-system)