guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/26: gnu: python-pep8-1.5.7: Use PYPI-URI.


From: guix-commits
Subject: 20/26: gnu: python-pep8-1.5.7: Use PYPI-URI.
Date: Mon, 28 Jan 2019 06:24:41 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit f3576970e5a9f7d5857a7d10b88953ba286c0b6d
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jan 28 12:11:10 2019 +0100

    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 2380a93..ddd7eef 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]