From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: Naming scheme for Python packages Date: Wed, 04 Sep 2013 22:52:08 +0200 Message-ID: <52279D78.7080802@gmail.com> References: <87li3c8g56.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHKO4-0000Eb-Oc for guix-devel@gnu.org; Wed, 04 Sep 2013 17:13:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHKNy-0005t4-Sh for guix-devel@gnu.org; Wed, 04 Sep 2013 17:13:16 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:34010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHKNy-0005su-ME for guix-devel@gnu.org; Wed, 04 Sep 2013 17:13:10 -0400 Received: by mail-we0-f172.google.com with SMTP id n5so968158wev.31 for ; Wed, 04 Sep 2013 14:13:10 -0700 (PDT) In-Reply-To: <87li3c8g56.fsf@gnu.org> 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: guix-devel@gnu.org On 09/04/2013 10:51 PM, Ludovic Courtès wrote: > 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. >> >> * 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’t clear when we discussed the policy: I think package > names must be prefixed by “python-”. By “package name” I mean the > ‘name’ field of packages, which is what is exposed to the users. > > However, I don’t think that scheme should be followed for variable > names: it’s 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") > ...)) > This is quite Debianish. I like it. Cyril.