Subject: [bug#30856] [PATCH] gnu: python-ptyprocess: Update source URL.

From: Leo Famulari <[email-masked]>
Date: Mon, 19 Mar 2018 16:59:58 -0400

On Mon, Mar 19, 2018 at 06:29:31PM +0300, Oleg Pykhalov wrote:
> * gnu/packages/python.scm (python-ptyprocess)[origin](source): Update URL.
> ---
>  gnu/packages/python.scm | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 05d339060..5915561ff 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -5619,8 +5619,9 @@ markdown_py is also provided to convert Markdown files to HTML.")
>       (origin
>         (method url-fetch)
>         (uri (string-append
> -             "https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-"
> -             version ".tar.gz"))
> +             "https://pypi.python.org/packages/51/83/"
> +             "5d07dc35534640b06f9d9f1a1d2bc2513fb9cc7595a1b0e28ae5477056ce/"
> +             "ptyprocess-" version ".tar.gz"))

Can it use pypi-uri? That way we wouldn't have to update this hash for
each new version.