Danny Milosavljevic skribis:
> Something like this:
>
> diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
> index d54bb9f..6889f0e 100644
> --- a/guix/import/pypi.scm
> +++ b/guix/import/pypi.scm
> @@ -194,7 +194,8 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION,
> and LICENSE."
Hi,
I tried to create a package for uwsgi by
$ guix import pypi uwsgi
...From https://pypi.python.org/packages/source/u/uWSGI/uwsgi-2.0.12.tar.gz...
...
(package
(name "python-uwsgi")
(version "2.0.12")
(source
(origin
(method url-fetch)
(uri (pypi
, it hardcodes the version number. Note sure whether heuristics
to extract it from a random URL and repplace it by 'version would be reliable,
though.
With the patch, I get:
$ guix import pypi uwsgi
Starting download of /tmp/guix-file.NdDsTJ
From https://pypi.python.org/packages/source/u/uWSG
Danny Milosavljevic skribis:
> On Fri, 18 Mar 2016 21:32:44 +0100
> Nils Gillmann 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 n
Danny Milosavljevic writes:
> Hi,
>
> On Fri, 18 Mar 2016 21:32:44 +0100
> Nils Gillmann 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* (pyp
Hi,
On Fri, 18 Mar 2016 21:32:44 +0100
Nils Gillmann 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
Danny Milosavljevic writes:
> Hi,
>
> I tried to create a package for uwsgi by
>
> $ guix import pypi uwsgi
>
> ...From https://pypi.python.org/packages/source/u/uWSGI/uwsgi-2.0.12.tar.gz...
> ...
> (package
> (name "python-uwsgi")
> (