commit: 8779c4199235f96e704a2585f2fabd6ac2603904 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Sep 29 03:08:43 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 4 20:22:57 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8779c419
EAPI 7 bans package.provided Bug: https://bugs.gentoo.org/568884 eapi-differences.tex | 4 ++++ profiles.tex | 24 ++++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index ace1f55..d6bf6b7 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs. \bottomrule \endlastfoot +\t{package.provided} & \compactfeatureref{package-provided} & + Yes & Yes & Yes & Yes & No \\ + \t{BROOT} & \compactfeatureref{broot} & No & No & No & No & Yes \\ @@ -419,6 +422,7 @@ EAPI 7 is EAPI 6 with the following changes: \item \t{BROOT}, \featureref{broot}. \item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option in favor of the \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}. +\item \t{package.provided} in profiles banned, \featureref{package-provided}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/profiles.tex b/profiles.tex index 99e84ea..edc17af 100644 --- a/profiles.tex +++ b/profiles.tex @@ -115,10 +115,26 @@ necessarily a global mask (from \t{profiles/package.mask}, section~\ref{profiles inherit tree when it comes to \t{-lines}. This behaviour may not be relied upon. \subsection{package.provided} -\t{package.provided} is used to tell the package manager that a certain package version should be -considered to be provided by the system regardless of whether it is actually installed. Because it -has severe adverse effects on USE-based and slot-based dependencies, its use is strongly deprecated -and package manager support must be regarded as purely optional. +\featurelabel{package-provided} \t{package.provided} is used to tell the package manager that +a certain package version should be considered to be provided by the system regardless of whether it +is actually installed. Because it has severe adverse effects on USE-based and slot-based +dependencies, its use is strongly deprecated and package manager support must be regarded as purely +optional. Banned in EAPIs listed as not allowing \t{package.provided} in +table~\ref{tab:profile-package-provided}. + +\ChangeWhenAddingAnEAPI{7} +\begin{centertable}{Profile \t{package.provided} support} + \label{tab:profile-package-provided} + \begin{tabular}{ll} + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Allows \t{package.provided}?}} \\ + \midrule + 0, 1, 2, 3, 4, 5, 6 & Yes \\ + 7 & No \\ + \bottomrule + \end{tabular} +\end{centertable} \subsection{package.use} The \t{package.use} file may be used by the package manager to override the default USE flags