From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org, Nils Gillmann <niasterisk@grrlz.net>
Subject: Re: guix import pypi uwsgi
Date: Sun, 20 Mar 2016 01:09:27 +0100 [thread overview]
Message-ID: <874mc2dn7s.fsf@gnu.org> (raw)
In-Reply-To: <20160319221937.08ebd086@scratchpost.org> (Danny Milosavljevic's message of "Sat, 19 Mar 2016 22:19:37 +0100")
Danny Milosavljevic <dannym@scratchpost.org> 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."
> (version ,version)
> (source (origin
> (method url-fetch)
> - (uri (pypi-uri ,name version))
> + (uri ,(if (equal? (pypi-uri name version) source-url) `(pypi-uri ,name version)
> + source-url))
> (sha256
> (base32
> ,(guix-hash-url temp)))))
Indeed. Pushed something along these lines in commit
522773b70024272555aab0448fae8606add4c582.
Thanks!
Ludo’.
prev parent reply other threads:[~2016-03-20 0:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 19:01 guix import pypi uwsgi Danny Milosavljevic
2016-03-18 20:32 ` Nils Gillmann
2016-03-19 12:37 ` Danny Milosavljevic
2016-03-19 14:13 ` Nils Gillmann
2016-03-19 20:56 ` Ludovic Courtès
2016-03-19 21:19 ` Danny Milosavljevic
2016-03-20 0:09 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mc2dn7s.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=niasterisk@grrlz.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).