Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/variables/
Date: Tue, 30 Mar 2021 07:21:08
Message-Id: 1617088841.6ebc0bd95ef60031be8bdba999f19c0d137ce05e.ulm@gentoo
1 commit: 6ebc0bd95ef60031be8bdba999f19c0d137ce05e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 21 05:12:56 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 07:20:41 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6ebc0bd9
7
8 ebuild-writing/variables: minor tweak to eapi7-ver reference
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 [Avoid "EAPI 7+", as "+" is a legal character in an EAPI name.]
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 ebuild-writing/variables/text.xml | 9 +++++----
15 1 file changed, 5 insertions(+), 4 deletions(-)
16
17 diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml
18 index 55cc3bd..97561e0 100644
19 --- a/ebuild-writing/variables/text.xml
20 +++ b/ebuild-writing/variables/text.xml
21 @@ -631,10 +631,11 @@ to read.
22 </p>
23
24 <p>
25 -Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this. This
26 -must <e>not</e> be done for any new code, and should be fixed to use either
27 -eapi7-ver or bash substitution where possible. Global scope non-bash code is
28 -highly discouraged.
29 +Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this.
30 +This must <e>not</e> be done for any new code and should be fixed to use
31 +built-in version manipulation commands (for EAPI 7 or later), Bash substitution,
32 +or in older EAPIs before 7, <c>eapi7-ver</c>. Global scope non-Bash code is
33 +<e>strongly</e> discouraged.
34 </p>
35
36 <p>