From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add Scikit-learn. Date: Mon, 23 Feb 2015 18:36:28 +0100 Message-ID: <20150223173628.GA10455@debian.eduroam.u-bordeaux.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPwvz-0006C3-9A for guix-devel@gnu.org; Mon, 23 Feb 2015 12:36:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPwvt-0008PG-MZ for guix-devel@gnu.org; Mon, 23 Feb 2015 12:36:43 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:60053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPwvt-0008Of-8l for guix-devel@gnu.org; Mon, 23 Feb 2015 12:36:37 -0500 Content-Disposition: inline In-Reply-To: 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: Ricardo Wurmus Cc: Guix-devel On Mon, Feb 23, 2015 at 06:17:47PM +0100, Ricardo Wurmus wrote: > The python2-scikit-learn package isn't working as it should. It does > not actually install python2.7 libraries but just the 3.3 libs. I think you did things the wrong way around: You inherit from the python3 package, then swap its inputs against those from the python2-wrapped one. In this way, the "#:python" field of "arguments" remains at python3. Instead, you need to inherit from the python2-wrapped package and then modify its inputs; in this case, this means (inherit scikit) instead of (inherit python-scikit-learn) Have a look at python2-oauthlib (which actually defines too many inherited fields, but it illustrates the point). Andreas