guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming scheme for Python packages


From: Cyril Roelandt
Subject: Re: Naming scheme for Python packages
Date: Wed, 04 Sep 2013 22:52:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5

On 09/04/2013 10:51 PM, Ludovic Courtès wrote:
Andreas Enge <address@hidden> skribis:

commit 89114f39e4be7ac655fbdd7f00a5f985c8f4ce6b
Author: Andreas Enge <address@hidden>
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]