From f3576970e5a9f7d5857a7d10b88953ba286c0b6d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 28 Jan 2019 12:11:10 +0100 Subject: [PATCH] gnu: python-pep8-1.5.7: Use PYPI-URI. * gnu/packages/python-xyz.scm (python-pep8-1.5.7)[source]: Use PYPI-URI. --- gnu/packages/python-xyz.scm | 15 ++++++--------- 1 file 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))))