commit: 3eb1886b944c912129f795b11a48ee2d14e71949
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 15:04:46 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 18:21:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=3eb1886b
dependencies.tex: Explicitly require matching package for :=
Explicitly indicate that the ebuild is required to provide appropriate
DEPEND for := to have a matching package installed. Additionally ban
the cases where := can not be reliably used or does not make any sense:
PDEPEND (because by intent the dependency can not be in DEPEND),
and any-of groups (because the non-binding nature of any-of group
collides with binding nature of :=).
dependencies.tex | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dependencies.tex b/dependencies.tex
index 79801c4..9917bc4 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -296,6 +296,10 @@ slot/sub-slot pair between the colon and equals sign when
saving the package's d
sub-slot part must not be omitted here (when the SLOT variable omits the
sub-slot part, the package
is considered to have an implicit sub-slot which is equal to the regular slot).
+Whenever the equals slot operator is used in an enabled dependency group, the
dependencies
+(\t{DEPEND}) must ensure that a matching package is installed at build time.
It is invalid to use
+the equals slot operator inside \t{PDEPEND} or inside any-of dependency
specifications.
+
\subsubsection{2-Style and 4-Style Use Dependencies}
\label{sec:use-dep}