summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-07-06 11:44:05 +0200
committerUlrich Müller <ulm@gentoo.org>2024-07-07 10:18:37 +0200
commitdc3b51bf149f174aeed15860185aba8cce1728ff (patch)
tree1216ee2c0da7d965489c3bf6c554b915a983141c
parentMakefile: Explicitly list LaTeX source files (diff)
downloadpms-master.tar.gz
pms-master.tar.bz2
pms-master.zip
dependencies.tex: Clarify specification of the slot= operatorHEADmaster
Reported-by: Jannik Glückert <jannik.glueckert@gmail.com> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--dependencies.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/dependencies.tex b/dependencies.tex
index 47c96c3..c1f7d6a 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -349,15 +349,16 @@ the following operators:
the slot and sub-slot of the best version installed as a build-time (\t{DEPEND}) dependency is
available.
\item[slot=] Indicates that only a specific slot value is acceptable, and otherwise behaves
- identically to the plain equals slot operator.
+ identically to the \t{=} operator. The specified slot must not contain a sub-slot part.
\end{description}
-To implement the equals slot operator, the package manager will need to store the slot/sub-slot
-pair of the best installed version of the matching package. This syntax is only for package manager
-use and must not be used by ebuilds. The package manager may do this by inserting the appropriate
-slot/sub-slot pair between the colon and equals sign when saving the package's dependencies. The
-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).
+To implement the equals slot operators \t{=} and \i{slot}\t{=}, the package manager will need to
+store the slot/sub-slot pair of the best installed version of the matching package. This syntax is
+only for package manager use and must not be used by ebuilds. The package manager may do this by
+inserting the appropriate slot/sub-slot pair between the colon and equals sign when saving the
+package's dependencies. The sub-slot part must not be omitted here (when the \t{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