From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A60315808B for ; Wed, 23 Mar 2022 12:09:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 864D2E0864; Wed, 23 Mar 2022 12:09:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3F95E0864 for ; Wed, 23 Mar 2022 12:09:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34C8C342D32 for ; Wed, 23 Mar 2022 12:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9D6432F for ; Wed, 23 Mar 2022 12:09:20 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1647543647.8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-vars.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1 X-VCS-Branch: master Date: Wed, 23 Mar 2022 12:09:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a45140fd-cf11-43aa-b54b-fc353569337e X-Archives-Hash: 5e845070359b3ab4de4aa8d7942e5e6b Message-ID: <20220323120920.uGFRune506QkqaZbCHxZ5koOisgGCTbRfaCK9teX9CQ@z> commit: 8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1 Author: Ulrich Müller gentoo org> AuthorDate: Thu Mar 17 19:00:47 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Mar 17 19:00:47 2022 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8bcf0e2f ebuild-vars.tex: Clarify which variables can be defined by an eclass Signed-off-by: Ulrich Müller gentoo.org> ebuild-vars.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ebuild-vars.tex b/ebuild-vars.tex index d07cca4..e7aab0a 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -43,8 +43,9 @@ All ebuilds must define at least the following variables: \section{Optional Ebuild-defined Variables} \label{sec:optional-vars} -Ebuilds may define any of the following variables: -\nobreakpar +Ebuilds may define any of the following variables. Unless otherwise stated, any of them may be +defined by an eclass. + \begin{description} \item[EAPI] The EAPI\@. See below in section~\ref{sec:eapi}. \item[HOMEPAGE] The URI or URIs for a package's homepage, including protocols. @@ -147,6 +148,8 @@ EAPI, the package manager must make sure that the \t{EAPI} value obtained by sou with bash is identical to the EAPI obtained by parsing. The ebuild must be treated as invalid if these values are different. +Eclasses must not attempt to modify the \t{EAPI} variable. + \subsection{SRC_URI} \label{sec:src-uri-behaviour}