guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add Scikit-learn.


From: Andreas Enge
Subject: Re: [PATCH] gnu: Add Scikit-learn.
Date: Mon, 23 Feb 2015 18:36:28 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]