1 |
commit: 53277f65792615a2b4442454543e95c0897f42b8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 23 23:46:32 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 12:55:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=53277f65 |
7 |
|
8 |
dependencies: Provide a nice summary table for dep APIs |
9 |
|
10 |
dependencies.tex | 18 +++++++++++++++++- |
11 |
1 file changed, 17 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/dependencies.tex b/dependencies.tex |
14 |
index e53cff6..696f478 100644 |
15 |
--- a/dependencies.tex |
16 |
+++ b/dependencies.tex |
17 |
@@ -26,6 +26,21 @@ |
18 |
\end{tabular} |
19 |
\end{centertable} |
20 |
|
21 |
+\begin{centertable}{Summary of other interfaces related to dependency classes} |
22 |
+ \label{tab:dep-class-api} |
23 |
+ \begin{tabular}{llll} |
24 |
+ \toprule |
25 |
+ & \t{BDEPEND} & \t{DEPEND} & \t{RDEPEND}, \t{PDEPEND} \\ |
26 |
+ \midrule |
27 |
+ Binary compatible with & \t{CBUILD} & \t{CHOST} & \t{CHOST} \\ |
28 |
+ Base unprefixed path & \t{/} & \t{\$\{SYSROOT\}} & \t{\$\{ROOT\}} \\ |
29 |
+ Relevant offset-prefix & \t{\$\{BROOT\}} & \t{\$\{EPREFIX\}} & \t{\$\{EPREFIX\}} \\ |
30 |
+ Path combined with prefix & \t{\$\{BROOT\}} & \t{\$\{ESYSROOT\}} & \t{\$\{EROOT\}} \\ |
31 |
+ PM query command option & \t{-b} & \t{-d} & \t{-r} \\ |
32 |
+ \bottomrule |
33 |
+ \end{tabular} |
34 |
+\end{centertable} |
35 |
+ |
36 |
There are three classes of dependencies supported by ebuilds: |
37 |
|
38 |
\begin{compactitem} |
39 |
@@ -65,7 +80,8 @@ as supporting \t{BDEPEND}, the build dependencies are split into two subclasses: |
40 |
\end{centertable} |
41 |
|
42 |
Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before |
43 |
-a particular phase function is executed. |
44 |
+a particular phase function is executed. Table~\ref{tab:dep-class-api} summarises additional |
45 |
+interfaces related to the dependency classes. |
46 |
|
47 |
In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE} and |
48 |
\t{REQUIRED_USE} use dependency-style specifications to specify their values. |