From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 876011580EB for ; Sun, 25 May 2025 16:47:03 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 71A433430E9 for ; Sun, 25 May 2025 16:47:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1AF1A1104A5; Sun, 25 May 2025 16:46:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 bobolink.gentoo.org (Postfix) with ESMTPS id 0F4741104A5 for ; Sun, 25 May 2025 16:46:52 +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 BAD4D34301E for ; Sun, 25 May 2025 16:46:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6067928B5 for ; Sun, 25 May 2025 16:46:49 +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: <1748191573.89af810629ec15b741bb43bc20a26f95b6373f68.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex profile-variables.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 89af810629ec15b741bb43bc20a26f95b6373f68 X-VCS-Branch: eapi-9 Date: Sun, 25 May 2025 16:46:49 +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: 54b159a8-9bf1-49ce-92b0-989846eba4a1 X-Archives-Hash: 7a95a2537a087424e5a5f89b4e77831f commit: 89af810629ec15b741bb43bc20a26f95b6373f68 Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 13 21:14:36 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun May 25 16:46:13 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=89af8106 EAPI 9: Special profile variables are no longer exported Bug: https://bugs.gentoo.org/948001 Signed-off-by: Ulrich Müller gentoo.org> ebuild-env-vars.tex | 10 ++++++++-- profile-variables.tex | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 4f19d70..1e2623b 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -354,8 +354,14 @@ commands (see section~\ref{sec:pkg-mgr-commands}) in an implementation-defined m \end{tabular} \end{centertable} -Except where otherwise noted, all variables set in the active profiles' \t{make.defaults} files must -be exported to the ebuild environment. \t{CHOST}, \t{CBUILD} and \t{CTARGET}, if not set by +Variables listed in section~\ref{sec:specific-profile-vars} as having specific meanings or special +handling, and that are set in the active profiles' \t{make.defaults} files, are either exported +to the environment or kept as unexported shell variables, as specified for EAPIs in +table~\ref{tab:export-vars}. To clarify, this behaviour is governed by the EAPI of the ebuild, +not that of the profile. + +Except where otherwise noted, all other variables set in the active profiles' \t{make.defaults} +files must be exported to the environment. \t{CHOST}, \t{CBUILD} and \t{CTARGET}, if not set by profiles, must contain either an appropriate machine tuple (the definition of appropriate is beyond the scope of this specification) or be unset. diff --git a/profile-variables.tex b/profile-variables.tex index f20fde4..ddcbd3a 100644 --- a/profile-variables.tex +++ b/profile-variables.tex @@ -69,6 +69,8 @@ completely override those in parent profiles. \end{centertable} \subsection{Specific variables and their meanings} +\label{sec:specific-profile-vars} + The following variables have specific meanings when set in profiles. \begin{description} \item[ARCH] The system's architecture. Must be a value listed in \t{profiles/arch.list}; see