Subject: Re: [bug#30856] [PATCH] gnu: python-ptyprocess: Update source URL.
From: Oleg Pykhalov <[email-masked]>
To: Leo Famulari <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Tue, 20 Mar 2018 21:47:23 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Leo Famulari <[email-masked]> writes:

> 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.

It can.  Thank you! 

Pushed as 8c4bd04c86cc43252b2f9473f398717970b77234

I'll close the bug report.

Oleg.