[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix import pypi uwsgi
From: |
Ludovic Courtès |
Subject: |
Re: guix import pypi uwsgi |
Date: |
Sat, 19 Mar 2016 21:56:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> On Fri, 18 Mar 2016 21:32:44 +0100
> Nils Gillmann <address@hidden> wrote:
>
>> I did not package with python so far, but is it not possible that
>> you set the url to fetch from with pypi-uri?
>
> According to guix/build-system/python.scm the answer is no:
>
> (define* (pypi-uri name version #:optional (extension ".tar.gz"))
> "Return a URI string for the Python package hosted on the Python Package
> Index (PyPI) corresponding to NAME and VERSION. EXTENSION is the file name
> extension, such as '.tar.gz'."
> (string-append "https://pypi.python.org/packages/source/"
> (string-take name 1) "/" name "/"
> name "-" version extension))
>
>
> That's why I bring it up.
>
> I can just build the URL myself - no problem. But there's a problem in guix
> when one guix part generates what another guix part can't process (note: guix
> import even downloaded the file just fine!).
So the bug is that ‘guix import’ should emit ‘pypi-uri’ calls if and
only if the URL matches the usual pypi.python.org scheme, right?
Ludo’.