From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Naming scheme for Python packages Date: Wed, 04 Sep 2013 22:51:17 +0200 Message-ID: <87li3c8g56.fsf@gnu.org> References: 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]:49649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHK7n-0005bu-5u for guix-devel@gnu.org; Wed, 04 Sep 2013 16:56:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHK7h-0000g7-1N for guix-devel@gnu.org; Wed, 04 Sep 2013 16:56:27 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:37277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHK7g-0000fu-R8 for guix-devel@gnu.org; Wed, 04 Sep 2013 16:56:20 -0400 In-Reply-To: (Andreas Enge's message of "Wed, 04 Sep 2013 20:14:29 +0000") 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: > commit 89114f39e4be7ac655fbdd7f00a5f985c8f4ce6b > Author: Andreas Enge > Date: Wed Sep 4 22:12:33 2013 +0200 > > gnu: python: Implement the python naming scheme for pytz and babel. >=20=20=20=20=20 > * gnu/packages/python.scm (pytz): Rename this ... > * gnu/packages/python.scm (python-pytz): ... to this > * gnu/packages/python.scm (python2-pytz): New variable, input python-= 2. > * gnu/packages/python.scm (babel): Rename this ... > * gnu/packages/python.scm (python-babel): ... to this > * gnu/packages/python.scm (python2-babel): New variable, input python= -2. I think I wasn=E2=80=99t clear when we discussed the policy: I think package names must be prefixed by =E2=80=9Cpython-=E2=80=9D. By =E2=80=9Cpackage n= ame=E2=80=9D I mean the =E2=80=98name=E2=80=99 field of packages, which is what is exposed to the u= sers. However, I don=E2=80=99t think that scheme should be followed for variable names: it=E2=80=99s tedious to type, and Guile offers mechanisms to select/rename bindings imported from other bindings. Thus I would do: (define pytz (package (name "python-pytz") ...)) WDYT? Ludo=E2=80=99.