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