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 BB0A1158030 for ; Sun, 26 Feb 2023 17:43:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD8C7E0895; Sun, 26 Feb 2023 17:42:59 +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 AB590E0895 for ; Sun, 26 Feb 2023 17:42:59 +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 E9486340D83 for ; Sun, 26 Feb 2023 17:42:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77A948D8 for ; Sun, 26 Feb 2023 17:42:55 +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: <1675275168.c5a07aa426d0536f6ff9387af471105ebb0ba96e.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex ebuild-environment.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c5a07aa426d0536f6ff9387af471105ebb0ba96e X-VCS-Branch: eapi-9 Date: Sun, 26 Feb 2023 17:42:55 +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: 4341d105-a7a2-4d4d-a89f-3930a1d67ce0 X-Archives-Hash: 63c242bb2bcce226d7f4ac0e1dede767 commit: c5a07aa426d0536f6ff9387af471105ebb0ba96e Author: Ulrich Müller gentoo org> AuthorDate: Wed Feb 1 18:12:48 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Feb 1 18:12:48 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c5a07aa4 Reference sections by "section 11.2" rather than "11.2" Signed-off-by: Ulrich Müller gentoo.org> ebuild-env-vars.tex | 8 ++++---- ebuild-environment.tex | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 7f430e7..b8deb04 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -6,7 +6,7 @@ meaningful in all phases; variables that are not meaningful in a given phase may any value. Ebuilds must not attempt to modify any of these variables, unless otherwise specified. Because of their special meanings, these variables may not be preserved consistently across all -phases as would normally happen due to environment saving (see~\ref{sec:ebuild-env-state}). +phases as would normally happen due to environment saving (see section~\ref{sec:ebuild-env-state}). For example, \t{EBUILD_PHASE} is different for every phase, and \t{ROOT} may have changed between the various different \t{pkg_*} phases. Ebuilds must recalculate any variable they derive from an inconsistent variable. @@ -40,7 +40,7 @@ inconsistent variable. \endlastfoot \t{P} & All & - No\footnote{May change if a package has been updated (see~\ref{sec:updates-dir}).} & + No\footnote{May change if a package has been updated (see section~\ref{sec:updates-dir}).} & Package name and version, without the revision part. For example, \t{vim-7.0.174}. \\ \t{PF} & All & @@ -175,8 +175,8 @@ inconsistent variable. calling environment, \t{EPREFIX} defaults to the built-in offset-prefix that was set during installation of the package manager. When a different \t{EPREFIX} value than the built-in value is set in the calling environment, a cross-prefix build is performed where using the existing - utilities, a package is built for the given \t{EPREFIX}, akin to \t{ROOT}\@. - See also~\ref{sec:offset-vars}. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} + utilities, a package is built for the given \t{EPREFIX}, akin to \t{ROOT}\@. See also + section~\ref{sec:offset-vars}. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} as supporting \t{EPREFIX}. \\ \t{D} & \t{src_*} & diff --git a/ebuild-environment.tex b/ebuild-environment.tex index b9f3622..8093f1e 100644 --- a/ebuild-environment.tex +++ b/ebuild-environment.tex @@ -16,9 +16,9 @@ Variables that were exported must remain exported in later functions; variables visibility may retain default visibility or be exported. Variables with special meanings to the package manager are excluded from this rule. -Global variables must only contain invariant values (see~\ref{sec:metadata-invariance}). If a global -variable's value is invariant, it may have the value that would be generated at any given point -in the build sequence. +Global variables must only contain invariant values (see section~\ref{sec:metadata-invariance}). +If a global variable's value is invariant, it may have the value that would be generated at any +given point in the build sequence. This is demonstrated by code listing~\ref{lst:env-saving}. 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 40FF515800F for ; Wed, 1 Feb 2023 18:14:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86202E0BEC; Wed, 1 Feb 2023 18:14:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 6FB8BE0BEC for ; Wed, 1 Feb 2023 18:14:02 +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 83CD4340A7B for ; Wed, 1 Feb 2023 18:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 083E285B for ; Wed, 1 Feb 2023 18:14:00 +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: <1675275168.c5a07aa426d0536f6ff9387af471105ebb0ba96e.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex ebuild-environment.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c5a07aa426d0536f6ff9387af471105ebb0ba96e X-VCS-Branch: master Date: Wed, 1 Feb 2023 18:14:00 +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: 08778e70-a45d-4c7a-ba12-3f8ef40ceec5 X-Archives-Hash: 2056a1e2ab0c2cf1a993ea79c2c51e3e Message-ID: <20230201181400._GzcSjVom_5nlpzwBUJ5LoM4PkTkAgb0Fg3sOiKBExs@z> commit: c5a07aa426d0536f6ff9387af471105ebb0ba96e Author: Ulrich Müller gentoo org> AuthorDate: Wed Feb 1 18:12:48 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Feb 1 18:12:48 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c5a07aa4 Reference sections by "section 11.2" rather than "11.2" Signed-off-by: Ulrich Müller gentoo.org> ebuild-env-vars.tex | 8 ++++---- ebuild-environment.tex | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 7f430e7..b8deb04 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -6,7 +6,7 @@ meaningful in all phases; variables that are not meaningful in a given phase may any value. Ebuilds must not attempt to modify any of these variables, unless otherwise specified. Because of their special meanings, these variables may not be preserved consistently across all -phases as would normally happen due to environment saving (see~\ref{sec:ebuild-env-state}). +phases as would normally happen due to environment saving (see section~\ref{sec:ebuild-env-state}). For example, \t{EBUILD_PHASE} is different for every phase, and \t{ROOT} may have changed between the various different \t{pkg_*} phases. Ebuilds must recalculate any variable they derive from an inconsistent variable. @@ -40,7 +40,7 @@ inconsistent variable. \endlastfoot \t{P} & All & - No\footnote{May change if a package has been updated (see~\ref{sec:updates-dir}).} & + No\footnote{May change if a package has been updated (see section~\ref{sec:updates-dir}).} & Package name and version, without the revision part. For example, \t{vim-7.0.174}. \\ \t{PF} & All & @@ -175,8 +175,8 @@ inconsistent variable. calling environment, \t{EPREFIX} defaults to the built-in offset-prefix that was set during installation of the package manager. When a different \t{EPREFIX} value than the built-in value is set in the calling environment, a cross-prefix build is performed where using the existing - utilities, a package is built for the given \t{EPREFIX}, akin to \t{ROOT}\@. - See also~\ref{sec:offset-vars}. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} + utilities, a package is built for the given \t{EPREFIX}, akin to \t{ROOT}\@. See also + section~\ref{sec:offset-vars}. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} as supporting \t{EPREFIX}. \\ \t{D} & \t{src_*} & diff --git a/ebuild-environment.tex b/ebuild-environment.tex index b9f3622..8093f1e 100644 --- a/ebuild-environment.tex +++ b/ebuild-environment.tex @@ -16,9 +16,9 @@ Variables that were exported must remain exported in later functions; variables visibility may retain default visibility or be exported. Variables with special meanings to the package manager are excluded from this rule. -Global variables must only contain invariant values (see~\ref{sec:metadata-invariance}). If a global -variable's value is invariant, it may have the value that would be generated at any given point -in the build sequence. +Global variables must only contain invariant values (see section~\ref{sec:metadata-invariance}). +If a global variable's value is invariant, it may have the value that would be generated at any +given point in the build sequence. This is demonstrated by code listing~\ref{lst:env-saving}.