unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add matplotlib.
Date: Sun, 30 Nov 2014 18:00:03 +0100	[thread overview]
Message-ID: <87lhmspqss.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPNt0QS7rnQs=ExHJoqa=V+Ko9HKpFMYM3nPXDZnBHuXMQ@mail.gmail.com> (Federico Beffa's message of "Sun, 30 Nov 2014 17:01:02 +0100")

Federico Beffa <beffa@ieee.org> skribis:

> On Sat, Nov 29, 2014 at 10:05 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>> What happens is that ‘package-with-python2’ automatically generates
>> python2 variants of the dependencies of the package you give it.  So
>> (package-with-python2 python-matplotlib) generates a package with an
>> input that is exactly (package-with-python2 python-numpydoc), hence with
>> #:tests? #t.
>
> Oh, I see.  Wouldn't it be better if, for each input,
> 'pyckage-with-python2' would check if in (gnu packages python) a
> variable with prefix 'python2-' is defined and, in case it is, use
> that variable instead of constructing new package?

No, I think this is not desirable.  Variable names are for us humans,
and programs shouldn’t try to guess what’s meant by browsing module name
spaces.

Thanks,
Ludo’.

      reply	other threads:[~2014-11-30 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27 19:32 [PATCH] gnu: Add matplotlib Federico Beffa
2014-11-29 21:05 ` Ludovic Courtès
2014-11-30 16:01   ` Federico Beffa
2014-11-30 17:00     ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87lhmspqss.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=beffa@ieee.org \
    --cc=guix-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).