From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms:eapi-9 commit in: /
Date: Sun, 25 May 2025 16:46:50 +0000 (UTC) [thread overview]
Message-ID: <1748191577.729a6bda7b298d14f6d26638d0610aac43ea2317.ulm@gentoo> (raw)
commit: 729a6bda7b298d14f6d26638d0610aac43ea2317
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 06:33:24 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun May 25 16:46:17 2025 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=729a6bda
EAPI 9 has use.stable and package.use.stable
Bug: https://bugs.gentoo.org/955833
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eapi-differences.tex | 7 +++++++
profiles.tex | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 0134657..1099a5c 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,12 @@ Profile files as directories & \compactfeatureref{profile-file-dirs} &
\t{package.provided} & \compactfeatureref{package-provided} &
Optional & No & No & No \\
+\t{use.stable} & \compactfeatureref{use-stable} &
+ No & No & No & Yes \\
+
+\t{package.use.stable} & \compactfeatureref{use-stable} &
+ No & No & No & Yes \\
+
Bash version & \compactfeatureref{bash-version} &
4.2 & 4.2 & 5.0 & 5.2 \\
@@ -378,6 +384,7 @@ EAPI 9 is EAPI 8 with the following changes:
\begin{compactitem}
\item Bash version is 5.2, \featureref{bash-version}.
\item Different default EAPI for profiles, \featureref{profile-eapi-default}.
+\item \t{use.stable} and \t{package.use.stable}, \featureref{use-stable}.
\item Variables no longer exported, \featureref{export-vars}.
\item \t{assert} banned, \featureref{banned-commands}.
\item \t{domo} banned, \featureref{banned-commands}.
diff --git a/profiles.tex b/profiles.tex
index d814c31..43b8763 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -165,6 +165,40 @@ specification, and then a space delimited list of USE flags to enable. A USE fla
specification is limited to the forms defined by the directory's EAPI\@. In some EAPIs,
\t{package.use} can be a directory instead of a regular file as per section~\ref{sec:line-stacking}.
+\subsection{use.stable and package.use.stable}
+\featurelabel{use-stable} The \t{use.stable} and \t{package.use.stable} files may be used to
+override the default USE flags specified by \t{make.defaults}. They only apply to packages that
+are merged due to a stable keyword in the sense of section~\ref{sec:keywords}. Each line in
+\t{use.stable} contains a USE flag to enable; the \t{-flag} syntax indicates that the flag should
+be disabled. The \t{package.use.stable} file uses the same format as \t{package.use}.
+\t{USE_EXPAND} values may be enabled or disabled by using \t{expand_name_value}.
+
+Stable restrictions are applied exactly when the following condition holds: If every stable keyword
+in \t{KEYWORDS} were replaced with its tilde-prefixed counterpart (see section~\ref{sec:keywords}),
+then the resulting \t{KEYWORDS} setting would prevent installation of the package.
+
+If a flag appears in more than one of \t{package.use}, \t{use.stable} and \t{package.use.stable},
+then \t{package.use.stable} takes precedence over \t{package.use}, which in turn takes precedence
+over \t{use.stable}.
+
+These files are supported in EAPIs as per table~\ref{tab:profile-use-stable}. They can be
+directories instead of regular files as per section~\ref{sec:line-stacking}.
+
+\ChangeWhenAddingAnEAPI{9}
+\begin{centertable}{Profile directory support for \t{use.stable} and \t{package.use.stable}}
+ \label{tab:profile-use-stable}
+ \begin{tabular}{lll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{use.stable}?}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{package.use.stable}?}} \\
+ \midrule
+ 0, 1, 2, 3, 4, 5, 6, 7, 8 & No & No \\
+ 9 & Yes & Yes \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
\subsection{USE masking and forcing}
\label{sec:use-masking}
This section covers the eight files \t{use.mask}, \t{use.force}, \t{use.stable.mask},
next reply other threads:[~2025-05-25 16:47 UTC|newest]
Thread overview: 196+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-25 16:46 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-08 20:38 [gentoo-commits] proj/pms:eapi-9 commit in: / Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-06-08 20:38 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:46 Ulrich Müller
2025-05-25 16:45 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-05-25 16:46 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-05-21 15:31 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-05-25 16:46 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-02-09 20:38 Ulrich Müller
2025-02-09 20:38 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 Ulrich Müller
2025-01-18 10:18 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-01-18 10:18 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-01-17 18:50 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-01-18 10:18 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:25 Ulrich Müller
2025-01-13 17:22 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-01-13 17:25 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-01-13 17:22 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-01-13 17:25 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-12 20:14 Ulrich Müller
2025-01-10 9:56 Ulrich Müller
2025-01-10 9:56 Ulrich Müller
2025-01-10 9:56 Ulrich Müller
2025-01-10 9:56 Ulrich Müller
2025-01-10 9:56 Ulrich Müller
2025-01-09 17:37 [gentoo-commits] proj/pms:master " Ulrich Müller
2025-01-10 9:56 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2025-01-07 17:16 Ulrich Müller
2025-01-07 17:16 Ulrich Müller
2025-01-07 17:16 Ulrich Müller
2025-01-07 17:16 Ulrich Müller
2025-01-07 11:03 Ulrich Müller
2025-01-07 11:03 Ulrich Müller
2025-01-07 11:03 Ulrich Müller
2025-01-07 11:03 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:39 Ulrich Müller
2024-12-11 19:37 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-12-03 17:44 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-12-01 11:30 Ulrich Müller
2024-11-29 16:46 Ulrich Müller
2024-11-22 14:41 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-11-12 19:18 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-11-12 19:18 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-11-12 19:18 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-07-16 9:50 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-06-24 9:10 Ulrich Müller
2024-06-16 19:22 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-06-16 19:22 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-12-11 19:39 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:57 Ulrich Müller
2024-06-02 9:55 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-05-14 4:25 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-04-05 14:07 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-03-03 17:30 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-03-03 17:30 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-03-03 17:30 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-02-08 9:43 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2024-01-01 14:34 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-08-09 17:24 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-08-06 15:26 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-06-05 18:45 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-06-05 18:45 [gentoo-commits] proj/pms:master " Ulrich Müller
2024-06-02 9:57 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-04-14 16:40 Ulrich Müller
2023-04-14 16:40 Ulrich Müller
2023-04-14 16:40 Ulrich Müller
2023-04-14 16:40 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-04-10 7:18 Ulrich Müller
2023-02-27 11:05 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-02-26 17:42 Ulrich Müller
2023-01-19 16:40 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-01-19 16:40 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-01-19 16:40 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-01-09 18:18 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-01-01 17:57 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2023-01-01 17:57 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-12-17 16:40 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-12-14 10:10 Ulrich Müller
2022-12-14 10:10 Ulrich Müller
2022-12-09 19:07 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-10-20 7:06 [gentoo-commits] proj/pms:master " Ulrich Müller
2023-02-26 17:42 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-08-22 18:30 Ulrich Müller
2022-08-22 18:30 Ulrich Müller
2022-08-22 18:30 Ulrich Müller
2022-08-22 18:30 Ulrich Müller
2022-08-22 18:30 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-21 9:42 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-08-18 15:53 Ulrich Müller
2022-04-07 6:22 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-08-18 15:53 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-02-21 19:05 Ulrich Müller
2022-02-21 19:05 Ulrich Müller
2022-02-21 19:05 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-14 7:29 Ulrich Müller
2022-02-07 8:13 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2022-02-07 8:13 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2021-09-03 15:26 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2021-09-03 15:26 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2021-09-03 6:56 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2021-09-01 17:35 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
2021-08-19 19:40 [gentoo-commits] proj/pms:master " Ulrich Müller
2022-02-14 7:29 ` [gentoo-commits] proj/pms:eapi-9 " Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1748191577.729a6bda7b298d14f6d26638d0610aac43ea2317.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox