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