1 |
commit: e2c175ac142dd62b687107a3aff5c41908d34ca9 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 12 07:28:48 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 16:44:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=e2c175ac |
7 |
|
8 |
dependencies: include optfeature |
9 |
|
10 |
Still used from eutils.eclass before it gets built into EAPI. |
11 |
|
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
Closes: https://github.com/gentoo/policy-guide/pull/3 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
dependencies.rst | 5 +++-- |
17 |
1 file changed, 3 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dependencies.rst b/dependencies.rst |
20 |
index 51038be..38f4147 100644 |
21 |
--- a/dependencies.rst |
22 |
+++ b/dependencies.rst |
23 |
@@ -16,8 +16,9 @@ being nonfunctional unless at least one of a set of optional runtime |
24 |
dependencies is installed. |
25 |
|
26 |
There is no specific preference as to how user should be informed |
27 |
-of optional runtime dependencies. The two possible options include |
28 |
-using ``elog`` messages and ``readme.gentoo-r1`` eclass. |
29 |
+of optional runtime dependencies. Three possible ways are |
30 |
+``optfeature`` from ``eutils`` eclass, ``readme.gentoo-r1`` eclass |
31 |
+and plain ``elog`` messages. |
32 |
|
33 |
*Rationale*: toggling USE flags in order to enable or disable optional |
34 |
runtime dependencies causes needless rebuilds of packages in question. |