Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-23 Thread Bo Ørsted Andresen
On Tuesday 23 September 2008 22:44:35 Alexis Ballier wrote: > > > False. If for instance coolfeature was made optional in >=pv you > > > can use logic like: > > > > > > if has_version '>=cat/foo-pv' && ! has_version > > > 'cat/foo[coolfeature]'; then ewarn '...' > > > fi > > > > I think this should

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-23 Thread Petteri Räty
Alexis Ballier kirjoitti: On Tue, 23 Sep 2008 23:33:44 +0300 Petteri Räty <[EMAIL PROTECTED]> wrote: Bo Ørsted Andresen kirjoitti: On Monday 22 September 2008 22:25:20 Petteri Räty wrote: If you mean something like built_with_use cat/foo coolfeature || ewarn "bar will be more useful if y

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-23 Thread Alexis Ballier
On Tue, 23 Sep 2008 23:33:44 +0300 Petteri Räty <[EMAIL PROTECTED]> wrote: > Bo Ørsted Andresen kirjoitti: > > On Monday 22 September 2008 22:25:20 Petteri Räty wrote: > >>> If you mean something like > >>> > >>> built_with_use cat/foo coolfeature || ewarn "bar will be more > >>> useful if you

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-23 Thread Petteri Räty
Bo Ørsted Andresen kirjoitti: On Monday 22 September 2008 22:25:20 Petteri Räty wrote: If you mean something like built_with_use cat/foo coolfeature || ewarn "bar will be more useful if you rebuild cat/foo with USE=coolfeature" then you can use has_version 'cat/foo[coolfeature]' ||

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-23 Thread Bo Ørsted Andresen
On Monday 22 September 2008 22:25:20 Petteri Räty wrote: > > If you mean something like > > > > built_with_use cat/foo coolfeature || ewarn "bar will be more useful if > > you rebuild cat/foo with USE=coolfeature" > > > > then you can use > > > > has_version 'cat/foo[coolfeature]' || ...

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-22 Thread Petteri Räty
David Leverton kirjoitti: On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote: I can think of checks like: - foo is a dep/rdep of bar - foo has a "plugin like" architecture - bar will "work" with minimal foo - most people will expect some features in bar that come with foo's plugins - we

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-21 Thread Vlastimil Babka
David Leverton wrote: > On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote: >> I can think of checks like: >> - foo is a dep/rdep of bar >> - foo has a "plugin like" architecture >> - bar will "work" with minimal foo >> - most people will expect some features in bar that come with foo's >>

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-21 Thread David Leverton
On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote: > I can think of checks like: > - foo is a dep/rdep of bar > - foo has a "plugin like" architecture > - bar will "work" with minimal foo > - most people will expect some features in bar that come with foo's > plugins > - we might want to

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-20 Thread Petteri Räty
Alexis Ballier kirjoitti: Hi, When EAPI 2 goes live built_with_use should probably die for most cases. I don't understand here: you mean die like being removed or die like the die call in an ebuild? If I understood correctly the following it should be the latter. Well we could go with eit

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-20 Thread Alexis Ballier
Hi, > When EAPI 2 goes live built_with_use should probably die for most > cases. I don't understand here: you mean die like being removed or die like the die call in an ebuild? If I understood correctly the following it should be the latter. > Are there valid use cases for built_with_use that a

[gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-20 Thread Petteri Räty
When EAPI 2 goes live built_with_use should probably die for most cases. Are there valid use cases for built_with_use that are not covered by the use deps in EAPI 2? If there are we could add a switch like --noeapi2die to it. Regards, Petteri signature.asc Description: OpenPGP digital signa