Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH 3/3] Promote "Package Dependency Specifications" to section.
Date: Sat, 23 Mar 2019 20:58:27
Message-Id: w6gef6xz4sy.fsf_-_@kph.uni-mainz.de
In Reply to: [gentoo-pms] [PATCH 2/3] ebuild-vars.tex: More precise cross references. by "Ulrich Müller"
1 Its subsubsections "Operators", "Block operator", "Slot dependencies",
2 and "2-style and 4-style USE dependencies" will be subsections, so the
3 maximum section number depth of the document will be 2.
4
5 Signed-off-by: Ulrich Müller <ulm@g.o>
6 ---
7 dependencies.tex | 10 +++++-----
8 1 file changed, 5 insertions(+), 5 deletions(-)
9
10 diff --git a/dependencies.tex b/dependencies.tex
11 index be7a8cb..7ce9860 100644
12 --- a/dependencies.tex
13 +++ b/dependencies.tex
14 @@ -218,7 +218,7 @@ at-most-one-of group for match purposes.
15
16 In an at-most-one-of group, at most one immediate child element must be matched.
17
18 -\subsection{Package dependency specifications}
19 +\section{Package Dependency Specifications}
20
21 A package dependency can be in one of the following base formats. A package manager must warn or
22 error on non-compliant input.
23 @@ -272,7 +272,7 @@ manager must warn or error if this feature is used with an EAPI not supporting u
24 \end{tabular}
25 \end{centertable}
26
27 -\subsubsection{Operators}
28 +\subsection{Operators}
29 \label{sec:dep-operator}
30
31 The following operators are available:
32 @@ -290,7 +290,7 @@ The following operators are available:
33 \item[\t{>}] Strictly greater than the specified version.
34 \end{description}
35
36 -\subsubsection{Block operator}
37 +\subsection{Block operator}
38
39 If the specification is prefixed with one or two exclamation marks, the named dependency is a block
40 rather than a requirement---that is to say, the specified package must not be installed, with the
41 @@ -321,7 +321,7 @@ described in table~\ref{tab:bang-strength-table}.
42 \end{tabular}
43 \end{centertable}
44
45 -\subsubsection{Slot dependencies}
46 +\subsection{Slot dependencies}
47 \label{sec:slot-dep}
48
49 \featurelabel{slot-deps} A named slot dependency consists of a colon followed by a slot name. A
50 @@ -359,7 +359,7 @@ Whenever the equals slot operator is used in an enabled dependency group, the de
51 (\t{DEPEND}) must ensure that a matching package is installed at build time. It is invalid to use
52 the equals slot operator inside \t{PDEPEND} or inside any-of dependency specifications.
53
54 -\subsubsection{2-style and 4-style USE dependencies}
55 +\subsection{2-style and 4-style USE dependencies}
56 \label{sec:use-dep}
57
58 A 2-style or 4-style use dependency consists of one of the following:
59 --
60 2.21.0