Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Fri, 29 Sep 2017 03:18:02
Message-Id: 1506654523.a31de7d86c26f49e755ad22e45c520b32f13a4cb.mgorny@gentoo
1 commit: a31de7d86c26f49e755ad22e45c520b32f13a4cb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 03:08:43 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 03:08:43 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=a31de7d8
7
8 EAPI 7 bans package.provided
9
10 eapi-differences.tex | 4 ++++
11 profiles.tex | 24 ++++++++++++++++++++----
12 2 files changed, 24 insertions(+), 4 deletions(-)
13
14 diff --git a/eapi-differences.tex b/eapi-differences.tex
15 index ace1f55..d6bf6b7 100644
16 --- a/eapi-differences.tex
17 +++ b/eapi-differences.tex
18 @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
19 \bottomrule
20 \endlastfoot
21
22 +\t{package.provided} & \compactfeatureref{package-provided} &
23 + Yes & Yes & Yes & Yes & No \\
24 +
25 \t{BROOT} & \compactfeatureref{broot} &
26 No & No & No & No & Yes \\
27
28 @@ -419,6 +422,7 @@ EAPI 7 is EAPI 6 with the following changes:
29 \item \t{BROOT}, \featureref{broot}.
30 \item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option in favor of the
31 \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
32 +\item \t{package.provided} in profiles banned, \featureref{package-provided}.
33 \end{compactitem}
34
35 \ChangeWhenAddingAnEAPI{7}
36
37 diff --git a/profiles.tex b/profiles.tex
38 index 99e84ea..edc17af 100644
39 --- a/profiles.tex
40 +++ b/profiles.tex
41 @@ -115,10 +115,26 @@ necessarily a global mask (from \t{profiles/package.mask}, section~\ref{profiles
42 inherit tree when it comes to \t{-lines}. This behaviour may not be relied upon.
43
44 \subsection{package.provided}
45 -\t{package.provided} is used to tell the package manager that a certain package version should be
46 -considered to be provided by the system regardless of whether it is actually installed. Because it
47 -has severe adverse effects on USE-based and slot-based dependencies, its use is strongly deprecated
48 -and package manager support must be regarded as purely optional.
49 +\featurelabel{package-provided} \t{package.provided} is used to tell the package manager that
50 +a certain package version should be considered to be provided by the system regardless of whether it
51 +is actually installed. Because it has severe adverse effects on USE-based and slot-based
52 +dependencies, its use is strongly deprecated and package manager support must be regarded as purely
53 +optional. Banned in EAPIs listed as not allowing \t{package.provided} in
54 +table~\ref{tab:profile-package-provided}.
55 +
56 +\ChangeWhenAddingAnEAPI{7}
57 +\begin{centertable}{Profile \t{package.provided} support}
58 + \label{tab:profile-package-provided}
59 + \begin{tabular}{ll}
60 + \toprule
61 + \multicolumn{1}{c}{\textbf{EAPI}} &
62 + \multicolumn{1}{c}{\textbf{Allows \t{package.provided}?}} \\
63 + \midrule
64 + 0, 1, 2, 3, 4, 5, 6 & Yes \\
65 + 7 & No \\
66 + \bottomrule
67 + \end{tabular}
68 +\end{centertable}
69
70 \subsection{package.use}
71 The \t{package.use} file may be used by the package manager to override the default USE flags