gnu: python2-mechanize: Use PYPI-URI.

* gnu/packages/python-xyz.scm (python2-mechanize)[source]: Use PYPI-URI.
This commit is contained in:
Ricardo Wurmus 2019-01-28 12:06:39 +01:00
parent 8318bf0740
commit 1cc184e6eb
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -998,8 +998,7 @@ (define-public python2-mechanize
(source
(origin
(method url-fetch)
(uri (string-append "https://pypi.python.org/packages/source/m/mechanize/mechanize-"
version ".tar.gz"))
(uri (pypi-uri "mechanize" version))
(sha256
(base32
"0rj7r166i1dyrq0ihm5rijfmvhs8a04im28lv05c0c3v206v4rrf"))))