On Wed, Apr 04, 2012 at 08:36:37PM -0400, Mike Gilbert wrote:
> On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring <[email protected]> wrote:
> > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote:
> >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary <[email protected]> 
> >> wrote:
> >> > I have a feature request for distutil-ng (or maybe it's already
> >> > possible but I don't know how).
> >> >
> >> > I have a package that depends on python-dateutil:python-2 for
> >> > python2_x and python-dateutil:python-3 for python3_x.
> >> > Would it be possible to have virtual targets like "python, python2,
> >> > python3, pypi, jithon" ?
> >> >
> >>
> >> One way to implement this would be to have a separate function that
> >> you would call to generate abi-specific dependencies.
> >
> > Think through the performance implications of that, and the fact that
> > moves control/decisions outside of the PM resolvers purview.
> >
> > If it's use controlled and is part of metadata, sure, but anything
> > else? ??Not so much. :)
> 
> All I'm talking about is a function or function(s) to generate deps like 
> these:
> 
> python2_6? ( dev-python/python-dateutil[python2_6] )
> python2_7? ( dev-python/python-dateutil[python2_7] )
> 
> I'm not sure how that would affect "performance".

Nah, that's fine- that's metadata level representation of it.

Sorry, aparenytly I misread your original email- interpretted it as 
shelling out for that decision (something people propose 
occasionally, and usually needs to be stomped out w/ maximal force), 
rather than representing it properly in dependencies.

What you're intending there is perfectly sane/acceptable; pardon the 
noise ;)

~brian

Reply via email to