From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22437: Fixing package-with-python2 Date: Sun, 07 Feb 2016 21:35:36 +0100 Message-ID: <8760y0tg13.fsf__5640.15850327468$1454877851$gmane$org@gnu.org> References: <87vb68nkyb.fsf@gnu.org> <87twlqxjsc.fsf@gnu.org> <20160207101720.4a3be103@debian-netbook> <87h9hkx3ur.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW3x-0005wF-1v for bug-guix@gnu.org; Sun, 07 Feb 2016 15:36:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW3t-0007Pu-Ps for bug-guix@gnu.org; Sun, 07 Feb 2016 15:36:04 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW3t-0007Pp-M4 for bug-guix@gnu.org; Sun, 07 Feb 2016 15:36:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSW3t-0007jw-Hp for bug-guix@gnu.org; Sun, 07 Feb 2016 15:36:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h9hkx3ur.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 07 Feb 2016 10:32:44 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel , 22437@debbugs.gnu.org Ricardo Wurmus skribis: > Efraim Flashner writes: > >> On Wed, 03 Feb 2016 09:47:15 +0100 >> ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> >>> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >>>=20 >>> > An idea I haven=E2=80=99t taken the time to test yet would be to use >>> > =E2=80=98properties=E2=80=99: >>> > >>> > (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 =E2=80=9Cproperties=E2=80=9D field holds a regular alist. Here the a= list has one > entry (a pair) with a symbol =E2=80=9Cpython2-variant=E2=80=9D as the key= , and =E2=80=9C,(delay > python2-foobar)=E2=80=9D as its value. > > The period is needed for the =E2=80=9Cdotted list=E2=80=9D syntax, which = is used to > distinguish a pair (or an improper list) from a well-formed list. This is a relic of the old days and probably kind of confusing to newcomers, but since we started making this field an alist, let=E2=80=99s k= eep it this way. Ludo=E2=80=99.