From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Naming scheme for Python packages Date: Thu, 05 Sep 2013 15:00:27 +0200 Message-ID: <87hadz5spg.fsf@gnu.org> References: <87li3c8g56.fsf@gnu.org> <20130904210836.GB8425@debian> <20130904213224.GA8767@debian> 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]:42699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHZFg-0008CK-Fa for guix-devel@gnu.org; Thu, 05 Sep 2013 09:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHZFa-00047w-Bq for guix-devel@gnu.org; Thu, 05 Sep 2013 09:05:36 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:38338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHZFa-00047f-5Y for guix-devel@gnu.org; Thu, 05 Sep 2013 09:05:30 -0400 In-Reply-To: <20130904213224.GA8767@debian> (Andreas Enge's message of "Wed, 4 Sep 2013 23:32:24 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > Apparently, I am getting tired. Especially the variable names must be > distinct: There is python-pytz (as a module for python=3Dpython-3) and > python2-pytz (as a module for python-2) inside the same scheme module. Oh, good point. Well, OK then. (In guile.scm we used a different convention: =E2=80=98guile-reader/guile-1= .8=E2=80=99 vs. =E2=80=98guile-reader/guile-2.0=E2=80=99, where =E2=80=98/=E2=80=99 rea= ds as =E2=80=98over=E2=80=99; the =E2=80=98name=E2=80=99 field follows a weird convention.) BTW, I haven=E2=80=99t check whether this is the case already, but we need something like (define (package-with-explicit-python p python) ;; Return a version of P built for PYTHON. (package (inherit p) ...)) so we can just write: (define python2-pytz (package-with-explicit-python python-pytz python-2)) Ludo=E2=80=99.