From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add Scikit-learn. Date: Sat, 28 Feb 2015 00:53:24 +0100 Message-ID: <20150227235324.GA16230@debian> References: <20150223175238.GA10579@debian.eduroam.u-bordeaux.fr> <20150225225215.GA13330@debian> <20150225225740.GA13495@debian> <87bnkg61js.fsf@gnu.org> <20150226175900.GA3835@debian> <648692e7170fada41ebd45ebe0724e42@openmailbox.org> <20150226204309.GA12643@debian> <34d78aa36c64669e2a26bc58b3fa9de6@openmailbox.org> <20150227094151.GA4043@debian.eduroam.u-bordeaux.fr> <20150227224834.GA6114@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRUiv-00026F-Vh for guix-devel@gnu.org; Fri, 27 Feb 2015 18:53:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRUim-0006Ac-8W for guix-devel@gnu.org; Fri, 27 Feb 2015 18:53:37 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:56239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRUil-00067c-TK for guix-devel@gnu.org; Fri, 27 Feb 2015 18:53:28 -0500 Content-Disposition: inline In-Reply-To: <20150227224834.GA6114@debian> List-Id: "Development of GNU Guix and the GNU System distribution." 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: Eric Bavier Cc: Guix-devel 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