From 1cc184e6eb2d6b4ffd652e7f0421242cbe463654 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 28 Jan 2019 12:06:39 +0100 Subject: [PATCH] gnu: python2-mechanize: Use PYPI-URI. * gnu/packages/python-xyz.scm (python2-mechanize)[source]: Use PYPI-URI. --- gnu/packages/python-xyz.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d399031fb1..9c73f1103f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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"))))