unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Eric Bavier <ericbavier@openmailbox.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add Scikit-learn.
Date: Sat, 28 Feb 2015 00:53:24 +0100	[thread overview]
Message-ID: <20150227235324.GA16230@debian> (raw)
In-Reply-To: <20150227224834.GA6114@debian>

On Fri, Feb 27, 2015 at 11:48:34PM +0100, Andreas Enge wrote:
> Can we use in the 'source' field something like
> (if (string=? name "python-pycairo"
>               source-x
>               source-y))

We can, but it does not work. The second package inherits not the code to
construct the source, but the already constructed source itself.
One would need a more complicated construction, like putting into this field
a procedure that is evaluated at build time and not at package creation. But
this would modify the basics of our package format (and be rather complicated).

Andreas

      reply	other threads:[~2015-02-27 23:53 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
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 [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=20150227235324.GA16230@debian \
    --to=andreas@enge.fr \
    --cc=ericbavier@openmailbox.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).