gnu: python-pep8-1.5.7: Use PYPI-URI.

* gnu/packages/python-xyz.scm (python-pep8-1.5.7)[source]: Use PYPI-URI.
This commit is contained in:
Ricardo Wurmus 2019-01-28 12:11:10 +01:00
parent c9671d4bb2
commit f3576970e5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 9 deletions

View File

@ -5520,15 +5520,12 @@ complexity of Python source code.")
(package (inherit python-pep8)
(version "1.5.7")
(source
(origin
(method url-fetch)
(uri (string-append
"https://pypi.python.org/packages/source/p/pep8/pep8-"
version
".tar.gz"))
(sha256
(base32
"12b9bbdbwnspxgak14xg58c130x2n0blxzlms5jn2dszn8qj3d0m"))))
(origin
(method url-fetch)
(uri (pypi-uri "pep8" version))
(sha256
(base32
"12b9bbdbwnspxgak14xg58c130x2n0blxzlms5jn2dszn8qj3d0m"))))
(arguments
;; XXX Tests not compatible with Python 3.5.
'(#:tests? #f))))