On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring <ferri...@gmail.com> 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 <corentin.ch...@gmail.com> >> 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".