From 223c1e5ceac64391160ed5cd4f01adc808d4cc50 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 16 Aug 2010 00:19:20 -0700 Subject: [PATCH] Bug #273626 - Add PMS docs for USE Dependency Defaults. --- doc/package/ebuild/eapi/4.docbook | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/package/ebuild/eapi/4.docbook b/doc/package/ebuild/eapi/4.docbook index 9181aa881..b2c558d55 100644 --- a/doc/package/ebuild/eapi/4.docbook +++ b/doc/package/ebuild/eapi/4.docbook @@ -17,6 +17,33 @@ The dodoc helper now has a -r option which enables recursion.
Metadata +
+ Dependencies +
+ USE Dependency Defaults + + In a 3-style use dependency, the flag name may immediately be followed by a + default specified by either (+) or (-). The former indicates that, when + applying the use dependency to a package that does not have the flag in + question in IUSE_REFERENCEABLE, the package manager shall behave as if the flag + were present and enabled; the latter, present and disabled. + + + Unless a 3-style default is specified, it is an error for a use dependency to + be applied to an ebuild which does not have the flag in question in + IUSE_REFERENCEABLE. + + + Note: By extension of the above, a default that could reference an ebuild using + an EAPI not supporting profile IUSE injections cannot rely upon any particular + behaviour for flags that would not have to be part of IUSE. + + + It is an error for an ebuild to use a conditional use dependency when that + ebuild does not have the flag in IUSE_EFFECTIVE. + +
+
REQUIRED_USE -- 2.26.2