On Sat, 2 Feb 2013 23:33:26 +0000
"Aaron W. Swenson" <[email protected]> wrote:

> After years of "if use test ; then ..." just working when
> FEATURES="test" is declared, it isn't working with EAPI5.

You shouldn't admit that for years you didn't knew that this was
incorrect and you should have been using IUSE=test.

> I think we could save some bytes and headaches if we just add "test"
> to IUSE_IMPLICIT.

First of all, you should note that you will still need to add IUSE=test
to pre-EAPI 5 ebuilds.

Secondly, what about all the ebuilds which declare IUSE=test in EAPI 5?
Shall we remove that value from IUSE? Keep it?

What will be the impact on metadata? It seems that the PMS allows
dependencies on IUSE_EFFECTIVE, so we can basically have dependencies
with flags which are valid only on some of the profiles...

> Portage's emerge's "--newuse" option won't be affected by this. From
> `man emerge`:
> > NOTE: This option ignores the state of the "test" USE flag, since
> > that flag has a special binding to FEATURES="test" (see make.conf(5)
> > for more information about FEATURES settings).
> 
> What say you?

I say that putting semi-automatic, dynamically changing flag
into IUSE_IMPLICIT is a bad idea. Right now, we just keep the things
that are really not supposed to change there.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to