Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass for Python
Date: Thu, 05 Apr 2012 00:37:50
Message-Id: CAJ0EP42pUtN461U_e4qNXw4z=0ppPMU6Y1d==adGAf7fGqi+Zw@mail.gmail.com
In Reply to: Re: [gentoo-dev] New eclass for Python by Brian Harring
1 On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring <ferringb@×××××.com> wrote:
2 > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote:
3 >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary <corentin.chary@×××××.com> wrote:
4 >> > I have a feature request for distutil-ng (or maybe it's already
5 >> > possible but I don't know how).
6 >> >
7 >> > I have a package that depends on python-dateutil:python-2 for
8 >> > python2_x and python-dateutil:python-3 for python3_x.
9 >> > Would it be possible to have virtual targets like "python, python2,
10 >> > python3, pypi, jithon" ?
11 >> >
12 >>
13 >> One way to implement this would be to have a separate function that
14 >> you would call to generate abi-specific dependencies.
15 >
16 > Think through the performance implications of that, and the fact that
17 > moves control/decisions outside of the PM resolvers purview.
18 >
19 > If it's use controlled and is part of metadata, sure, but anything
20 > else?  Not so much. :)
21
22 All I'm talking about is a function or function(s) to generate deps like these:
23
24 python2_6? ( dev-python/python-dateutil[python2_6] )
25 python2_7? ( dev-python/python-dateutil[python2_7] )
26
27 I'm not sure how that would affect "performance".

Replies

Subject Author
Re: [gentoo-dev] New eclass for Python Brian Harring <ferringb@×××××.com>