diff options
author | Ulrich Müller <ulm@gentoo.org> | 2015-02-18 08:11:29 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2015-02-18 08:11:29 +0100 |
commit | 8b257070f3a88d91a64faa0f588957a5dc137e97 (patch) | |
tree | fae587a3730b830d40efc1f57bd1724c6256d05f | |
parent | Update list of phases for build commands. (diff) | |
download | pms-8b257070f3a88d91a64faa0f588957a5dc137e97.tar.gz pms-8b257070f3a88d91a64faa0f588957a5dc137e97.tar.bz2 pms-8b257070f3a88d91a64faa0f588957a5dc137e97.zip |
Whitespace: Split some very long lines.
-rw-r--r-- | dependencies.tex | 28 | ||||
-rw-r--r-- | ebuild-env-commands.tex | 6 | ||||
-rw-r--r-- | names.tex | 12 |
3 files changed, 28 insertions, 18 deletions
diff --git a/dependencies.tex b/dependencies.tex index 2444fcd..b5cfcfa 100644 --- a/dependencies.tex +++ b/dependencies.tex @@ -4,17 +4,22 @@ \section{Dependency Classes} \label{sec:dependency-classes} -\begin{centertable}{Dependency classes required to be satisfied for a particular phase function} \label{tab:phase-function-dependency-classes} +\begin{centertable}{Dependency classes required to be satisfied for a particular phase function} + \label{tab:phase-function-dependency-classes} \begin{tabular}{ p{0.2\textwidth} p{0.7\textwidth} } - \toprule - \multicolumn{1}{c}{\textbf{Phase function}} & - \multicolumn{1}{c}{\textbf{Satisfied dependency classes}} \\ - \midrule - \t{pkg\_pretend}, \t{pkg\_setup}, \t{pkg\_info}, \t{pkg\_nofetch} & None (ebuilds can rely only on the packages in the system set) \\ - \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}, \t{src\_install} & \t{DEPEND} \\ - \t{pkg\_preinst}, \t{pkg\_postinst}, \t{pkg\_prerm}, \t{pkg\_postrm} & \t{RDEPEND} (unless the particular dependency results in a circular dependency, in which case it may be installed later) \\ - \t{pkg\_config} & \t{RDEPEND}, \t{PDEPEND} \\ - \bottomrule + \toprule + \multicolumn{1}{c}{\textbf{Phase function}} & + \multicolumn{1}{c}{\textbf{Satisfied dependency classes}} \\ + \midrule + \t{pkg\_pretend}, \t{pkg\_setup}, \t{pkg\_info}, \t{pkg\_nofetch} & + None (ebuilds can rely only on the packages in the system set) \\ + \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}, + \t{src\_install} & \t{DEPEND} \\ + \t{pkg\_preinst}, \t{pkg\_postinst}, \t{pkg\_prerm}, \t{pkg\_postrm} & + \t{RDEPEND} (unless the particular dependency results in a circular dependency, in which + case it may be installed later) \\ + \t{pkg\_config} & \t{RDEPEND}, \t{PDEPEND} \\ + \bottomrule \end{tabular} \end{centertable} @@ -30,7 +35,8 @@ There are three classes of dependencies supported by ebuilds: the package manager finishes the batch of installs. \end{compactitem} -Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before a particular phase function is executed. +Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before +a particular phase function is executed. In addition, \t{SRC\_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE} and \t{REQUIRED\_USE} use dependency-style specifications to specify their values. diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex index 70b69b2..7d3c33b 100644 --- a/ebuild-env-commands.tex +++ b/ebuild-env-commands.tex @@ -23,9 +23,9 @@ dependencies must be used to ensure their presence. The following commands must always be available in the ebuild environment: \begin{compactitem} -\item All builtin commands in GNU bash, version 3.2\footnote{The - required bash version was retroactively updated from 3.0 to 3.2 in - November 2009 (see \url{http://www.gentoo.org/proj/en/council/meeting-logs/20091109.txt}).\label{fn:bash3.2}}. +\item All builtin commands in GNU bash, version 3.2\footnote{The required bash version was + retroactively updated from 3.0 to 3.2 in November 2009 + (see \url{http://www.gentoo.org/proj/en/council/meeting-logs/20091109.txt}).\label{fn:bash3.2}}. \item \t{sed} must be available, and must support all forms of invocations valid for GNU sed version 4 or later. \item \t{patch} must be available, and must support all inputs valid for GNU patch. @@ -87,7 +87,8 @@ from which it was invoked. \begin{algorithm} \caption{Version comparison logic for numeric components} \label{alg:version-comparison-numeric} \begin{algorithmic}[1] - \STATE define the notations $An_k$ and $Bn_k$ to mean the $k$\textsuperscript{th} numeric component of $A$ and $B$ respectively, using $0$-based indexing + \STATE define the notations $An_k$ and $Bn_k$ to mean the $k$\textsuperscript{th} numeric + component of $A$ and $B$ respectively, using $0$-based indexing \IF{$An_0>Bn_0$ using integer comparison} \RETURN $A>B$ \ELSIF{$An_0<Bn_0$ using integer comparison} @@ -107,7 +108,8 @@ from which it was invoked. \end{algorithm} \begin{algorithm} -\caption{Version comparison logic for each numeric component after the first} \label{alg:version-comparison-numeric-nonfirst} +\caption{Version comparison logic for each numeric component after the first} +\label{alg:version-comparison-numeric-nonfirst} \begin{algorithmic}[1] \IF{either $An_i$ or $Bn_i$ has a leading \t{0}} \STATE let $An'_i$ be $An_i$ with any trailing \t{0}s removed @@ -143,7 +145,8 @@ from which it was invoked. \begin{algorithm} \caption{Version comparison logic for suffixes} \label{alg:version-comparison-suffix} \begin{algorithmic}[1] - \STATE define the notations $As_k$ and $Bs_k$ to mean the $k$\textsuperscript{th} suffix of $A$ and $B$ respectively, using $0$-based indexing + \STATE define the notations $As_k$ and $Bs_k$ to mean the $k$\textsuperscript{th} suffix of $A$ + and $B$ respectively, using $0$-based indexing \STATE let $Asn$ be the number of suffixes of $A$ \STATE let $Bsn$ be the number of suffixes of $B$ \FORALL{$i$ such that $i\geq0$ and $i<Asn$ and $i<Bsn$, in ascending order} @@ -176,7 +179,8 @@ from which it was invoked. \ELSIF{$As'_i<Bs'_i$, using integer comparison} \RETURN $A<B$ \ENDIF - \ELSIF{the type of $As_i$ is greater than the type of $Bs_i$ using the ordering $\mbox{\t{\_alpha}}<\mbox{\t{\_beta}}<\mbox{\t{\_pre}}<\mbox{\t{\_rc}}<\mbox{\t{\_p}}$} + \ELSIF{the type of $As_i$ is greater than the type of $Bs_i$ using the ordering + $\mbox{\t{\_alpha}}<\mbox{\t{\_beta}}<\mbox{\t{\_pre}}<\mbox{\t{\_rc}}<\mbox{\t{\_p}}$} \RETURN $A>B$ \ELSE \RETURN $A<B$ |