aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 12:11:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 12:24:25 +0100
commitf3576970e5a9f7d5857a7d10b88953ba286c0b6d (patch)
treee3af371b73fc5ad5a5d8bc28162009b25750ab5e
parentc9671d4bb2074f4079cb7c53bb858b043fae0ecd (diff)
downloadguix-f3576970e5a9f7d5857a7d10b88953ba286c0b6d.tar
guix-f3576970e5a9f7d5857a7d10b88953ba286c0b6d.tar.gz
gnu: python-pep8-1.5.7: Use PYPI-URI.
* gnu/packages/python-xyz.scm (python-pep8-1.5.7)[source]: Use PYPI-URI.
-rw-r--r--gnu/packages/python-xyz.scm15
1 files changed, 6 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2380a931e1..ddd7eef8f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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))))