Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH 16/28] dependencies: Provide a nice summary table for dep APIs
Date: Wed, 04 Oct 2017 20:47:51
Message-Id: 20171004204712.10391-17-mgorny@gentoo.org
In Reply to: [gentoo-pms] [PATCHES] EAPI 7, first draft for review by "Michał Górny"
1 ---
2 dependencies.tex | 18 +++++++++++++++++-
3 1 file changed, 17 insertions(+), 1 deletion(-)
4
5 diff --git a/dependencies.tex b/dependencies.tex
6 index 92e7bb9..63d8c53 100644
7 --- a/dependencies.tex
8 +++ b/dependencies.tex
9 @@ -26,6 +26,21 @@
10 \end{tabular}
11 \end{centertable}
12
13 +\begin{centertable}{Summary of other interfaces related to dependency classes}
14 + \label{tab:dependency-class-apis}
15 + \begin{tabular}{lccc}
16 + \toprule
17 + & \t{BDEPEND} & \t{DEPEND} & \t{RDEPEND}, \t{PDEPEND} \\
18 + \midrule
19 + binary compatible with & \t{CBUILD} & \t{CHOST} & \t{CHOST} \\
20 + base unprefixed path & \t{/} & \t{\$\{SYSROOT\}} & \t{\$\{ROOT\}} \\
21 + relevant offset-prefix & \t{\$\{BROOT\}} & \t{\$\{EPREFIX\}} & \t{\$\{EPREFIX\}} \\
22 + path combined with prefix & \t{\$\{BROOT\}} & \t{\$\{ESYSROOT\}} & \t{\$\{EROOT\}} \\
23 + PM query option & \t{-b} & \t{-d} & \t{-r} \\
24 + \bottomrule
25 + \end{tabular}
26 +\end{centertable}
27 +
28 There are three classes of dependencies supported by ebuilds:
29
30 \begin{compactitem}
31 @@ -51,7 +66,8 @@ as supporting \t{BDEPEND}, the build dependencies are split into two subclasses:
32 \end{compactitem}
33
34 Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before
35 -a particular phase function is executed.
36 +a particular phase function is executed. Table~\ref{tab:dependency-class-api} summarizes
37 +additional interfaces related to the dependency classes.
38
39 In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE} and
40 \t{REQUIRED_USE} use dependency-style specifications to specify their values.
41 --
42 2.14.2