all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add Scikit-learn.
Date: Thu, 26 Feb 2015 18:59:00 +0100	[thread overview]
Message-ID: <20150226175900.GA3835@debian> (raw)
In-Reply-To: <87bnkg61js.fsf@gnu.org>

On Thu, Feb 26, 2015 at 06:11:03PM +0100, Ludovic Courtès wrote:
> I think a Python “module” is a single .py file.  In that case “package”
> seems more accurate, no?

Indeed, that is true. Still I am looking for a justification to rename
"python2-py2cairo" to "python2-cairo", that is, use the module name for
a package containing a single module. Below is a proposed new text for
this section (more readable than a patch), which also replaces another
occurrence of "module" by "package".

What do you think?

Andreas


@node Python Modules
@subsection Python Modules

We currently package Python 2 and Python 3, under the Scheme variable names
@code{python-2} and @code{python} as explained in @ref{Version Numbers}.
Python programs standing for themselves are named as any other package,
using the lowercase upstream name.

To avoid confusion and naming clashes with other programming languages, it
seems desirable that the name of a package for Python modules contains
the word @code{python}.
As base name, we use the lowercase module name for Python packages
containing a single module, or the lowercase upstream package name
otherwise; from this, we drop all occurrences of the word @code{python}.
Some packages are compatible with only one version of Python, others with
both.
If the package with base name @code{foo} compiles only with Python 3, we name
it @code{python-foo}; if it compiles only with Python 2, we name it
@code{python2-foo}. If it is compatible with both versions, we create two
packages with the corresponding names.

For instance, the upstream package python-dateutil is packaged under the
names @code{python-dateutil} and @code{python2-dateutil}.

  reply	other threads:[~2015-02-26 17:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 16:24 [PATCH] gnu: Add Scikit-learn Ricardo Wurmus
2015-02-23 17:17 ` Ricardo Wurmus
2015-02-23 17:36   ` Andreas Enge
2015-02-26 11:28     ` Ricardo Wurmus
2015-02-26 20:44       ` Andreas Enge
2015-02-23 17:52   ` Andreas Enge
2015-02-25 22:52     ` Andreas Enge
2015-02-25 22:57       ` Andreas Enge
2015-02-26 17:11         ` Ludovic Courtès
2015-02-26 17:59           ` Andreas Enge [this message]
2015-02-26 18:20             ` Ludovic Courtès
2015-02-26 18:23               ` Andreas Enge
2015-02-26 20:03             ` Eric Bavier
2015-02-26 20:43               ` Andreas Enge
2015-02-26 21:10                 ` Eric Bavier
2015-02-27  9:41                   ` Andreas Enge
2015-02-27 22:48                     ` Andreas Enge
2015-02-27 23:53                       ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150226175900.GA3835@debian \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.