diff options
author | 2009-03-16 19:08:19 +0000 | |
---|---|---|
committer | 2009-04-23 23:51:02 +0100 | |
commit | 1da04d24a637e55728d47663cb5b35f3d875066d (patch) | |
tree | f3ca8ff70023b9300fb8952fbbb93743140bb84b /ebuild-functions.tex | |
parent | EAPI 3 has more econf arguments (diff) | |
download | pms-1da04d24a637e55728d47663cb5b35f3d875066d.tar.gz pms-1da04d24a637e55728d47663cb5b35f3d875066d.tar.bz2 pms-1da04d24a637e55728d47663cb5b35f3d875066d.zip |
EAPI 3 supports pkg_info on non-installed packages
Diffstat (limited to 'ebuild-functions.tex')
-rw-r--r-- | ebuild-functions.tex | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/ebuild-functions.tex b/ebuild-functions.tex index b72a6f9..951ef34 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -419,38 +419,43 @@ fully installed. It is the only ebuild function which may be interactive and pro \subsection{pkg\_info} \label{sec:pkg-info-function} -\IFKDEBUILDELSE -{ - The \t{pkg\_info} function may be called by the package manager when displaying information about an - installed package. In EAPIs listed in table~\ref{tab:pkg-info-table} as supporting \t{pkg\_info} on - uninstalled packages, it may also be called by the package manager when displaying information - about an uninstalled package. In this case, ebuild authors should note that dependencies may not be - installed. -}{ - The \t{pkg\_info} function may be called by the package manager when displaying information about an - installed package. -} +The \t{pkg\_info} function may be called by the package manager when displaying information about an +installed package. In EAPIs listed in table~\ref{tab:pkg-info-table} as supporting \t{pkg\_info} on +non-installed packages, it may also be called by the package manager when displaying information +about a non-installed package. In this case, ebuild authors should note that dependencies may not be +installed. \t{pkg\_info} must not write to the filesystem. +\begin{centertable}{EAPIs supporting \t{pkg\_info} on non-installed packages} \label{tab:pkg-info-table} \IFKDEBUILDELSE { - \begin{centertable}{EAPIs supporting \t{pkg\_info} on uninstalled packages} \label{tab:pkg-info-table} \begin{tabular}{ l l } \toprule \multicolumn{1}{c}{\textbf{EAPI}} & - \multicolumn{1}{c}{\textbf{Supports \t{pkg\_info} on uninstalled packages?}} \\ + \multicolumn{1}{c}{\textbf{Supports \t{pkg\_info} on non-installed packages?}} \\ \midrule \t{0} & No \\ \t{1} & No \\ \t{kdebuild-1} & Yes \\ \t{2} & No \\ - \t{3} & No \\ + \t{3} & Yes \\ \bottomrule \end{tabular} - \end{centertable} }{ + \begin{tabular}{ l l } + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Supports \t{pkg\_info} on non-installed packages?}} \\ + \midrule + \t{0} & No \\ + \t{1} & No \\ + \t{2} & No \\ + \t{3} & Yes \\ + \bottomrule + \end{tabular} } +\end{centertable} \subsection{pkg\_nofetch} \label{sec:pkg-nofetch-function} |