guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH]: guix: python-build-system: Change pypi-uri to use https://pypi.


From: 宋文武
Subject: [PATCH]: guix: python-build-system: Change pypi-uri to use https://pypi.io.
Date: Thu, 23 Jun 2016 19:39:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> writes:

> On Wed, Jun 22, 2016 at 01:35:17PM -0500, Christopher Allan Webber wrote:
>> Note that the old URL scheme no longer seemed to work.
>> 
>> I'm not thrilled by the new URL "scheme".  It seems like more work to
>> update with each version bump.  I'm not sure what the solution is?
>
> Please review Ben's 'pypi-origin' patch :)
>
> http://lists.gnu.org/archive/html/guix-devel/2016-06/msg00724.html
>
>>      (source (origin
>>                (method url-fetch)
>> -              (uri (pypi-uri "Flask" version))
>> +              (uri
>> +               (string-append
>> +                "https://pypi.python.org/packages/55/8a/";
>> +                
>> "78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c959688872643ffb3/"
>> +                "Flask-0.11.1.tar.gz"))
>
> In the meantime, I think it's best to keep the hash on its own line, to
> reduce noise in the commit log if we do more updates in this format.

Ah, nixpkgs use pypi.io for it, and it will redirect the old uri
scheme to the new one.

I guess we should do the same?


Attachment: 0001-guix-python-build-system-Change-pypi-uri-to-use-http.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]