public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms:eapi-8 commit in: /
Date: Mon, 17 May 2021 21:23:21 +0000 (UTC)	[thread overview]
Message-ID: <1621286460.0bd44e8be9f449a60df8351e2a47cb7ce65dbdbd.ulm@gentoo> (raw)

commit:     0bd44e8be9f449a60df8351e2a47cb7ce65dbdbd
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 18:46:09 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon May 17 21:21:00 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=0bd44e8b

EAPI 8 accumulates PROPERTIES and RESTRICT across eclasses

Bug: https://bugs.gentoo.org/701132
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eapi-differences.tex |  4 ++++
 eclasses.tex         | 27 ++++++++++++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 5d7170d..5319bf0 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -149,6 +149,9 @@ Parallel tests & \compactfeatureref{parallel-tests} &
     \t{pkg_nofetch}, \t{src_unpack}, \t{src_prepare}, \t{src_configure},
         \t{src_compile}, \t{src_test}, \t{src_install} \\
 
+Accumulate \t{RESTRICT} etc. & \compactfeatureref{accumulate-vars} &
+    No & No & No & No & Yes \\
+
 \t{AA} & \compactfeatureref{aa} &
     * & No & No & No & No \\
 
@@ -495,6 +498,7 @@ EAPI 8 is EAPI 7 with the following changes:
 \item Selective fetch/mirror restriction, \featureref{uri-restrict}.
 \item \t{IDEPEND}, \featureref{idepend}.
 \item Different \t{src_prepare} implementation, \featureref{src-prepare-8}.
+\item \t{PROPERTIES}, \t{RESTRICT} accumulated across eclasses, \featureref{accumulate-vars}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{8}

diff --git a/eclasses.tex b/eclasses.tex
index 7f4ba67..a92ce1f 100644
--- a/eclasses.tex
+++ b/eclasses.tex
@@ -34,11 +34,28 @@ The \t{inherit} command must also ensure that:
 
 \section{Eclass-defined Metadata Keys}
 
-The \t{IUSE}, \t{REQUIRED_USE}, \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, \t{PDEPEND} and \t{IDEPEND}
-variables are handled specially when set by an eclass. They must be accumulated across eclasses,
-appending the value set by each eclass to the resulting value after the previous one is loaded.
-Then the eclass-defined value is appended to that defined by the ebuild. In the case of \t{RDEPEND},
-this is done after the implicit \t{RDEPEND} rules in section~\ref{sec:rdepend-depend} are applied.
+\featurelabel{accumulate-vars} The \t{IUSE}, \t{REQUIRED_USE}, \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND},
+\t{PDEPEND} and \t{IDEPEND} variables are handled specially when set by an eclass. They must be
+accumulated across eclasses, appending the value set by each eclass to the resulting value after
+the previous one is loaded. For EAPIs listed in table~\ref{tab:accumulate-vars} as accumulating
+\t{PROPERTIES} and \t{RESTRICT}, the same is true for these variables. Then the eclass-defined
+value is appended to that defined by the ebuild. In the case of \t{RDEPEND}, this is done after
+the implicit \t{RDEPEND} rules in section~\ref{sec:rdepend-depend} are applied.
+
+\ChangeWhenAddingAnEAPI{8}
+\begin{centertable}{EAPIs accumulating \t{PROPERTIES} and \t{RESTRICT} across eclasses}
+    \label{tab:accumulate-vars}
+    \begin{tabular}{lll}
+      \toprule
+      \multicolumn{1}{c}{\textbf{EAPI}} &
+      \multicolumn{1}{c}{\textbf{Accumulates \t{PROPERTIES}?}} &
+      \multicolumn{1}{c}{\textbf{Accumulates \t{RESTRICT}?}} \\
+      \midrule
+      0, 1, 2, 3, 4, 5, 6, 7  & No  & No  \\
+      8                       & Yes & Yes \\
+      \bottomrule
+    \end{tabular}
+\end{centertable}
 
 \section{EXPORT_FUNCTIONS}
 


             reply	other threads:[~2021-05-17 21:23 UTC|newest]

Thread overview: 263+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 21:23 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-13 19:15 [gentoo-commits] proj/pms:eapi-8 commit in: / Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-05  8:57 Ulrich Müller
2021-06-03  8:55 Ulrich Müller
2021-06-03  8:55 Ulrich Müller
2021-06-03  8:55 Ulrich Müller
2021-06-03  8:21 Ulrich Müller
2021-06-03  8:21 Ulrich Müller
2021-06-03  8:21 Ulrich Müller
2021-06-03  8:21 Ulrich Müller
2021-06-02 19:44 Ulrich Müller
2021-06-02 19:44 Ulrich Müller
2021-06-02 19:44 Ulrich Müller
2021-06-02 19:44 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-27 19:27 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-26  7:13 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 19:39 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24 10:35 Ulrich Müller
2021-05-24  8:54 [gentoo-commits] proj/pms:retroactive " Ulrich Müller
2021-05-24 10:35 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 Ulrich Müller
2021-05-22  6:36 [gentoo-commits] proj/pms:retroactive " Ulrich Müller
2021-05-22  6:36 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-19 15:38 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-18  5:44 Ulrich Müller
2021-05-17 21:30 Ulrich Müller
2021-05-17 21:30 Ulrich Müller
2021-05-17 21:30 Ulrich Müller
2021-05-17 21:30 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 21:23 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 19:37 Ulrich Müller
2021-05-17 16:56 Ulrich Müller
2021-05-17 16:17 Ulrich Müller
2021-05-17 16:17 Ulrich Müller
2021-05-17 16:17 Ulrich Müller
2021-05-17 16:17 Ulrich Müller
2021-05-17 16:17 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-17 16:16 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-16 19:13 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-13 11:42 Ulrich Müller
2021-05-01 10:28 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2021-05-01 10:28 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2021-04-25 20:39 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2021-01-19 20:01 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-09-21 19:25 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-09-21 19:25 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-09-21 19:25 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-09-21 19:25 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-08-06 16:12 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-07-07  7:55 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-06-29 17:35 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-06-28 10:46 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " Ulrich Müller
2020-06-15 17:38 [gentoo-commits] proj/pms:master " Ulrich Müller
2021-05-13 11:42 ` [gentoo-commits] proj/pms:eapi-8 " 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=1621286460.0bd44e8be9f449a60df8351e2a47cb7ce65dbdbd.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