gnu: python-prettytable: Use PYPI-URI.
authorRicardo Wurmus <rekado@elephly.net>
Mon, 28 Jan 2019 11:13:09 +0000 (12:13 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Mon, 28 Jan 2019 11:24:25 +0000 (12:24 +0100)
* gnu/packages/python-xyz.scm (python-prettytable)[source]: Use PYPI-URI.

gnu/packages/python-xyz.scm

index 544e3f6..349223f 100644 (file)
@@ -6126,9 +6126,7 @@ Unicode-aware.  It is not intended as an end-user tool.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/P/PrettyTable/"
-             "prettytable-" version ".tar.bz2"))
+       (uri (pypi-uri "prettytable" version ".tar.bz2"))
        (sha256
         (base32
          "0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45"))))