From: Brian Harring <ferringb@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] New eclass for Python
Date: Wed, 4 Apr 2012 17:45:41 -0700 [thread overview]
Message-ID: <20120405004541.GB6994@localhost> (raw)
In-Reply-To: <CAJ0EP42pUtN461U_e4qNXw4z=0ppPMU6Y1d==adGAf7fGqi+Zw@mail.gmail.com>
On Wed, Apr 04, 2012 at 08:36:37PM -0400, Mike Gilbert wrote:
> On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring <ferringb@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.chary@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".
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
next prev parent reply other threads:[~2012-04-05 0:46 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 21:13 [gentoo-dev] New eclass for Python Krzysztof Pawlik
2012-02-29 3:21 ` Sergei Trofimovich
2012-02-29 17:34 ` Krzysztof Pawlik
2012-02-29 5:13 ` [gentoo-dev] Re: [gentoo-python] " Mike Gilbert
2012-02-29 17:35 ` Krzysztof Pawlik
2012-02-29 7:49 ` [gentoo-dev] " "Paweł Hajdan, Jr."
2012-02-29 17:38 ` Krzysztof Pawlik
2012-02-29 18:03 ` Jeroen Roovers
2012-02-29 8:11 ` [gentoo-dev] Re: [gentoo-python] " Dirkjan Ochtman
2012-02-29 17:39 ` Krzysztof Pawlik
2012-02-29 18:39 ` Mike Gilbert
2012-02-29 8:17 ` [gentoo-dev] " Fabian Groffen
2012-02-29 17:34 ` Krzysztof Pawlik
2012-02-29 19:51 ` Alexandre Rostovtsev
2012-02-29 20:24 ` Krzysztof Pawlik
2012-02-29 21:08 ` Andreas K. Huettel
2012-02-29 21:19 ` Krzysztof Pawlik
2012-02-29 21:57 ` Alexandre Rostovtsev
2012-03-01 18:42 ` Krzysztof Pawlik
2012-03-03 7:59 ` [gentoo-dev] Re: [gentoo-python] " Arfrever Frehtes Taifersar Arahesis
2012-03-03 8:18 ` Zac Medico
2012-03-25 18:56 ` [gentoo-dev] " Krzysztof Pawlik
2012-03-25 19:08 ` Luca Barbato
2012-03-26 7:20 ` justin
2012-03-26 16:11 ` Krzysztof Pawlik
2012-03-26 16:23 ` Krzysztof Pawlik
2012-04-04 8:50 ` Corentin Chary
2012-04-04 14:22 ` Mike Gilbert
2012-04-04 14:29 ` Corentin Chary
2012-04-04 14:41 ` Mike Gilbert
2012-04-05 0:07 ` Brian Harring
2012-04-05 0:36 ` Mike Gilbert
2012-04-05 0:45 ` Brian Harring [this message]
2012-03-26 7:21 ` justin
2012-03-26 16:02 ` Krzysztof Pawlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120405004541.GB6994@localhost \
--to=ferringb@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox