From: Ricardo Wurmus <rekado@elephly.net>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel <guix-devel@gnu.org>, 22437@debbugs.gnu.org
Subject: Re: bug#22437: Fixing package-with-python2
Date: Sun, 07 Feb 2016 10:32:44 +0100 [thread overview]
Message-ID: <87h9hkx3ur.fsf@elephly.net> (raw)
In-Reply-To: <20160207101720.4a3be103@debian-netbook>
Efraim Flashner <efraim@flashner.co.il> writes:
> On Wed, 03 Feb 2016 09:47:15 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> ludo@gnu.org (Ludovic Courtès) skribis:
>>
>> > An idea I haven’t taken the time to test yet would be to use
>> > ‘properties’:
>> >
>> > (define python-foobar ;with Python 3
>> > (package
>> > (name "foobar")
>> > ;; Specify which Python 2 variant to use.
>> > (properties `((python2-variant . ,(delay python2-foobar))))))
>
> This part I don't get. What's the period for?
The “properties” field holds a regular alist. Here the alist has one
entry (a pair) with a symbol “python2-variant” as the key, and “,(delay
python2-foobar)” as its value.
The period is needed for the “dotted list” syntax, which is used to
distinguish a pair (or an improper list) from a well-formed list.
~~ Ricardo
next prev parent reply other threads:[~2016-02-07 9:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 13:49 Fixing package-with-python2 (was: Package transformations) Thompson, David
2016-02-01 14:26 ` Pjotr Prins
2016-02-01 16:35 ` Efraim Flashner
2016-02-01 16:49 ` Thompson, David
2016-02-01 17:12 ` Andreas Enge
2016-02-01 22:11 ` Fixing package-with-python2 Ludovic Courtès
2016-02-01 22:07 ` Ludovic Courtès
2016-02-01 22:12 ` Thompson, David
2016-02-02 7:50 ` Efraim Flashner
2016-02-03 8:47 ` bug#22437: " Ludovic Courtès
2016-02-03 8:47 ` Ludovic Courtès
2016-02-07 8:17 ` bug#22437: " Efraim Flashner
2016-02-07 9:32 ` Ricardo Wurmus
2016-02-07 9:32 ` Ricardo Wurmus [this message]
2016-02-07 20:35 ` Ludovic Courtès
2016-02-07 20:35 ` Ludovic Courtès
2016-02-07 20:42 ` Ludovic Courtès
2016-02-08 15:11 ` Ludovic Courtès
2016-02-08 15:11 ` Ludovic Courtès
2016-02-07 8:17 ` Efraim Flashner
2016-02-07 11:09 ` Andreas Enge
2016-02-07 20:39 ` Ludovic Courtès
2016-02-07 20:39 ` Ludovic Courtès
2016-02-07 11:09 ` Andreas Enge
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9hkx3ur.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=22437@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.