* [gentoo-pms] [PATCH] dependencies.tex: Explicitly require matching package for :=
@ 2016-10-31 15:04 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2016-10-31 15:04 UTC (permalink / raw
To: gentoo-pms; +Cc: Michał Górny
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..ed1688c 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
+equals slot operator inside \t{PDEPEND} or inside any-of dependency specifications.
+
\subsubsection{2-Style and 4-Style Use Dependencies}
\label{sec:use-dep}
--
2.10.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-31 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 15:04 [gentoo-pms] [PATCH] dependencies.tex: Explicitly require matching package for := Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox