From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1265691-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 468BA1382C5 for <garchives@archives.gentoo.org>; Tue, 30 Mar 2021 07:21:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88D02E08EB; Tue, 30 Mar 2021 07:21:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6284CE08EB for <gentoo-commits@lists.gentoo.org>; Tue, 30 Mar 2021 07:21:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93710340BF6 for <gentoo-commits@lists.gentoo.org>; Tue, 30 Mar 2021 07:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE70A638 for <gentoo-commits@lists.gentoo.org>; Tue, 30 Mar 2021 07:21:03 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> 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" <ulm@gentoo.org> Message-ID: <1617088841.6ebc0bd95ef60031be8bdba999f19c0d137ce05e.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/variables/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/variables/text.xml X-VCS-Directories: ebuild-writing/variables/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6ebc0bd95ef60031be8bdba999f19c0d137ce05e X-VCS-Branch: master Date: Tue, 30 Mar 2021 07:21:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3153a13-aa9e-4105-b2ba-0871e47033a3 X-Archives-Hash: 92135d48abb009aabc1b243786f62347 commit: 6ebc0bd95ef60031be8bdba999f19c0d137ce05e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Mar 21 05:12:56 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Mar 30 07:20:41 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6ebc0bd9 ebuild-writing/variables: minor tweak to eapi7-ver reference Signed-off-by: Sam James <sam <AT> gentoo.org> [Avoid "EAPI 7+", as "+" is a legal character in an EAPI name.] Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-writing/variables/text.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml index 55cc3bd..97561e0 100644 --- a/ebuild-writing/variables/text.xml +++ b/ebuild-writing/variables/text.xml @@ -631,10 +631,11 @@ to read. </p> <p> -Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this. This -must <e>not</e> be done for any new code, and should be fixed to use either -eapi7-ver or bash substitution where possible. Global scope non-bash code is -highly discouraged. +Some ebuilds use calls to <c>sed</c>, <c>awk</c> and / or <c>cut</c> to do this. +This must <e>not</e> be done for any new code and should be fixed to use +built-in version manipulation commands (for EAPI 7 or later), Bash substitution, +or in older EAPIs before 7, <c>eapi7-ver</c>. Global scope non-Bash code is +<e>strongly</e> discouraged. </p> <p>