diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-06-11 09:32:03 +0200 |
---|---|---|
committer | Ulrich Mueller <ulm@gentoo.org> | 2011-06-26 15:58:25 +0200 |
commit | 2f0989d0b6ee10d60593f4d800a1cf5b662f450f (patch) | |
tree | a9b52dbc27cf8166c400d91ef154fc6ebb0eadcb | |
parent | Add GLEP 37 to bibliography. (diff) | |
download | pms-2f0989d0b6ee10d60593f4d800a1cf5b662f450f.tar.gz pms-2f0989d0b6ee10d60593f4d800a1cf5b662f450f.tar.bz2 pms-2f0989d0b6ee10d60593f4d800a1cf5b662f450f.zip |
Rephrase *DEPEND to state when and whether they are installed.
-rw-r--r-- | dependencies.tex | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/dependencies.tex b/dependencies.tex index 45081fe..5bdad39 100644 --- a/dependencies.tex +++ b/dependencies.tex @@ -3,16 +3,34 @@ \section{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 + \end{tabular} +\end{centertable} + There are three classes of dependencies supported by ebuilds: \begin{compactitem} -\item Build dependencies (\t{DEPEND}). These must be installed and usable before the ebuild - is installed. -\item Runtime dependencies (\t{RDEPEND}). These must be installed and usable before the ebuild - is treated as usable. -\item Post dependencies (\t{PDEPEND}). These must be installed at some point. +\item Build dependencies (\t{DEPEND}). These must be installed and usable before any of + the ebuild \t{src\_*} phase functions is executed. These may not be installed at all + if a binary package is being merged. +\item Runtime dependencies (\t{RDEPEND}). These must be installed and usable before + the results of an ebuild merging are treated as usable. +\item Post dependencies (\t{PDEPEND}). These must be installed at some point before + 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. + 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. |