1 |
commit: c1403cf5d93a5c4826a7328828f9bb4857988c9c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 23 23:46:32 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 20:53:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c1403cf5 |
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 a876b43..fa818b7 100644 |
15 |
--- a/dependencies.tex |
16 |
+++ b/dependencies.tex |
17 |
@@ -23,6 +23,21 @@ |
18 |
\end{tabular} |
19 |
\end{centertable} |
20 |
|
21 |
+\begin{centertable}{Summary of other interfaces related to dependency classes} |
22 |
+ \label{tab:dependency-class-apis} |
23 |
+ \begin{tabular}{lccc} |
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 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 |
@@ -48,7 +63,8 @@ as supporting \t{BDEPEND}, the build dependencies are split into two subclasses: |
40 |
\end{compactitem} |
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:dependency-class-api} summarizes |
45 |
+additional 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. |