Gentoo Archives: gentoo-pms

From: Sam James <sam@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: Re: [gentoo-pms] [PATCH] ebuild-vars.tex: Clarify which variables can be defined by an eclass
Date: Thu, 17 Mar 2022 19:57:38
Message-Id: A6DA3ABC-632B-4676-9D57-D71D7923453B@gentoo.org
In Reply to: [gentoo-pms] [PATCH] ebuild-vars.tex: Clarify which variables can be defined by an eclass by "Ulrich Müller"
1 > On 17 Mar 2022, at 19:01, Ulrich Müller <ulm@g.o> wrote:
2 >
3 > Signed-off-by: Ulrich Müller <ulm@g.o>
4 > ---
5 > ebuild-vars.tex | 7 +++++--
6 > 1 file changed, 5 insertions(+), 2 deletions(-)
7 >
8 > diff --git a/ebuild-vars.tex b/ebuild-vars.tex
9 > index d07cca4..e7aab0a 100644
10 > --- a/ebuild-vars.tex
11 > +++ b/ebuild-vars.tex
12 > @@ -43,8 +43,9 @@ All ebuilds must define at least the following variables:
13 > \section{Optional Ebuild-defined Variables}
14 > \label{sec:optional-vars}
15 >
16 > -Ebuilds may define any of the following variables:
17 > -\nobreakpar
18 > +Ebuilds may define any of the following variables. Unless otherwise stated, any of them may be
19 > +defined by an eclass.
20 > +
21 > \begin{description}
22 > \item[EAPI] The EAPI\@. See below in section~\ref{sec:eapi}.
23 > \item[HOMEPAGE] The URI or URIs for a package's homepage, including protocols.
24 > @@ -147,6 +148,8 @@ EAPI, the package manager must make sure that the \t{EAPI} value obtained by sou
25 > with bash is identical to the EAPI obtained by parsing. The ebuild must be treated as invalid if
26 > these values are different.
27 >
28 > +Eclasses must not attempt to modify the \t{EAPI} variable.
29 > +
30 > \subsection{SRC_URI}
31 > \label{sec:src-uri-behaviour}
32 >
33
34 lgtm
35
36 best,
37 sam

Attachments

File name MIME type
signature.asc application/pgp-signature