public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] USE dependency defaults and USE_EXPAND
@ 2013-03-16 20:49 Ulrich Mueller
  2013-03-16 21:10 ` Michał Górny
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Mueller @ 2013-03-16 20:49 UTC (permalink / raw
  To: gentoo-pms

The EAPI Cheat Sheet says about USE dependency defaults:

   In addition to the features offered in EAPI 2 for USE dependencies,
   a (+) or (-) can be added after a USE flag (mind the parentheses).
   The former specifies that flags not in IUSE should be treated as
   enabled; the latter, disabled. Cannot be used with USE_EXPAND
   flags. This mimics parts of the behaviour of --missing in
   built_with_use.

I wonder about the sentence: "Cannot be used with USE_EXPAND flags."
The spec doesn't seem to say that.

Ulrich


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-pms] USE dependency defaults and USE_EXPAND
  2013-03-16 20:49 [gentoo-pms] USE dependency defaults and USE_EXPAND Ulrich Mueller
@ 2013-03-16 21:10 ` Michał Górny
  2013-03-16 21:22   ` Ulrich Mueller
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Górny @ 2013-03-16 21:10 UTC (permalink / raw
  To: gentoo-pms; +Cc: ulm

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

On Sat, 16 Mar 2013 21:49:47 +0100
Ulrich Mueller <ulm@gentoo.org> wrote:

> The EAPI Cheat Sheet says about USE dependency defaults:
> 
>    In addition to the features offered in EAPI 2 for USE dependencies,
>    a (+) or (-) can be added after a USE flag (mind the parentheses).
>    The former specifies that flags not in IUSE should be treated as
>    enabled; the latter, disabled. Cannot be used with USE_EXPAND
>    flags. This mimics parts of the behaviour of --missing in
>    built_with_use.
> 
> I wonder about the sentence: "Cannot be used with USE_EXPAND flags."
> The spec doesn't seem to say that.

Wasn't it supposed to be meant for EAPI<5?

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-pms] USE dependency defaults and USE_EXPAND
  2013-03-16 21:10 ` Michał Górny
@ 2013-03-16 21:22   ` Ulrich Mueller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Mueller @ 2013-03-16 21:22 UTC (permalink / raw
  To: Michał Górny; +Cc: gentoo-pms

>>>>> On Sat, 16 Mar 2013, Michał Górny wrote:

>> The EAPI Cheat Sheet says about USE dependency defaults:
>> 
>> In addition to the features offered in EAPI 2 for USE dependencies,
>> a (+) or (-) can be added after a USE flag (mind the parentheses).
>> The former specifies that flags not in IUSE should be treated as
>> enabled; the latter, disabled. Cannot be used with USE_EXPAND
>> flags. This mimics parts of the behaviour of --missing in
>> built_with_use.
>> 
>> I wonder about the sentence: "Cannot be used with USE_EXPAND flags."
>> The spec doesn't seem to say that.

> Wasn't it supposed to be meant for EAPI<5?

For these, the spec says that USE_EXPAND flags are contained in
IUSE_EFFECTIVE, but not in IUSE_REFERENCEABLE. IIUC, the latter is the
relevant variable for USE dependencies?

Ulrich


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-16 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-16 20:49 [gentoo-pms] USE dependency defaults and USE_EXPAND Ulrich Mueller
2013-03-16 21:10 ` Michał Górny
2013-03-16 21:22   ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox