summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-02-17 16:00:52 +0100
committerUlrich Müller <ulm@gentoo.org>2015-11-08 20:29:19 +0100
commita9b54bcb042f0f070d93aebfdfb367cb15e22476 (patch)
treec61a322b31624b94aa559f9634732209290212b5 /ebuild-vars.tex
parentRework the EAPI feature table. (diff)
downloadpms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.tar.gz
pms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.tar.bz2
pms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.zip
Reformat EAPI tables to be more compact.
Combine all lines with identical behaviour for different EAPIs. Also use consistent indentation for tables in the LaTeX source.
Diffstat (limited to 'ebuild-vars.tex')
-rw-r--r--ebuild-vars.tex97
1 files changed, 40 insertions, 57 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index 0bba597..43ce528 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -85,40 +85,31 @@ Ebuilds may define any of the following variables:
\end{description}
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs supporting \t{IUSE} defaults} \label{tab:iuse-defaults-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{IUSE} defaults?}} \\
- \midrule
- \t{0} & No \\
- \t{1} & Yes \\
- \t{2} & Yes \\
- \t{3} & Yes \\
- \t{4} & Yes \\
- \t{5} & Yes \\
- \t{6} & Yes \\
- \bottomrule
+\begin{centertable}{EAPIs supporting \t{IUSE} defaults}
+ \label{tab:iuse-defaults-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{IUSE} defaults?}} \\
+ \midrule
+ 0 & No \\
+ 1, 2, 3, 4, 5, 6 & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}
\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting various ebuild-defined variables}
-\label{tab:optional-vars-table}
- \begin{tabular}{ l l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{PROPERTIES}?}} &
- \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED\_USE}?}} \\
- \midrule
- \t{0} & Optionally & No \\
- \t{1} & Optionally & No \\
- \t{2} & Optionally & No \\
- \t{3} & Optionally & No \\
- \t{4} & Yes & Yes \\
- \t{5} & Yes & Yes \\
- \t{6} & Yes & Yes \\
- \bottomrule
+ \label{tab:optional-vars-table}
+ \begin{tabular}{lll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{PROPERTIES}?}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED\_USE}?}} \\
+ \midrule
+ 0, 1, 2, 3 & Optionally & No \\
+ 4, 5, 6 & Yes & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}
@@ -186,20 +177,16 @@ the ebuild portion, and any \t{DEPEND} value set in an eclass does not get treat
\t{RDEPEND}.
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs with \t{RDEPEND=DEPEND} Default} \label{tab:rdepend-depend-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{\t{RDEPEND=DEPEND}?}} \\
- \midrule
- \t{0} & Yes \\
- \t{1} & Yes \\
- \t{2} & Yes \\
- \t{3} & Yes \\
- \t{4} & No \\
- \t{5} & No \\
- \t{6} & No \\
- \bottomrule
+\begin{centertable}{EAPIs with \t{RDEPEND=DEPEND} Default}
+ \label{tab:rdepend-depend-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{\t{RDEPEND=DEPEND}?}} \\
+ \midrule
+ 0, 1, 2, 3 & Yes \\
+ 4, 5, 6 & No \\
+ \bottomrule
\end{tabular}
\end{centertable}
@@ -233,20 +220,16 @@ this variable defined, and must treat an empty string as ``this information is n
based upon any variant condition.
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs supporting \t{DEFINED\_PHASES}} \label{tab:defined-phases-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{DEFINED\_PHASES}?}} \\
- \midrule
- \t{0} & Optionally \\
- \t{1} & Optionally \\
- \t{2} & Optionally \\
- \t{3} & Optionally \\
- \t{4} & Yes \\
- \t{5} & Yes \\
- \t{6} & Yes \\
- \bottomrule
+\begin{centertable}{EAPIs supporting \t{DEFINED\_PHASES}}
+ \label{tab:defined-phases-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{DEFINED\_PHASES}?}} \\
+ \midrule
+ 0, 1, 2, 3 & Optionally \\
+ 4, 5, 6 & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}