public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] optfeature.eclass: Support EAPI-8
@ 2021-07-18 20:45 Andreas Sturmlechner
  2021-07-23  6:44 ` [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Andreas Sturmlechner
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-07-18 20:45 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 eclass/optfeature.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass
index 8fc346c3ac6..b853f61be32 100644
--- a/eclass/optfeature.eclass
+++ b/eclass/optfeature.eclass
@@ -4,11 +4,11 @@
 # @ECLASS: optfeature.eclass
 # @MAINTAINER:
 # base-system@gentoo.org
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 8
 # @BLURB: Advertise optional functionality that might be useful to users
 
 case ${EAPI:-0} in
-	[0-7]) ;;
+	[0-8]) ;;
 	*)     die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
 esac
 
-- 
2.32.0

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5
  2021-07-18 20:45 [gentoo-dev] [PATCH] optfeature.eclass: Support EAPI-8 Andreas Sturmlechner
@ 2021-07-23  6:44 ` Andreas Sturmlechner
  2021-07-29  1:35   ` Sam James
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-07-23  6:44 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 eclass/optfeature.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass
index b853f61be32..f9870e04732 100644
--- a/eclass/optfeature.eclass
+++ b/eclass/optfeature.eclass
@@ -4,12 +4,12 @@
 # @ECLASS: optfeature.eclass
 # @MAINTAINER:
 # base-system@gentoo.org
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 8
+# @SUPPORTED_EAPIS: 6 7 8
 # @BLURB: Advertise optional functionality that might be useful to users
 
-case ${EAPI:-0} in
-	[0-8]) ;;
-	*)     die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
+case ${EAPI} in
+	6|7|8) ;;
+	*) die "${ECLASS}: EAPI=${EAPI:-0} is not supported" ;;
 esac
 
 if [[ -z ${_OPTFEATURE_ECLASS} ]]; then
-- 
2.32.0

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5
  2021-07-23  6:44 ` [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Andreas Sturmlechner
@ 2021-07-29  1:35   ` Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-07-29  1:35 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]



> On 23 Jul 2021, at 07:44, Andreas Sturmlechner <asturm@gentoo.org> wrote:
> 
> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
> ---
> eclass/optfeature.eclass | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
> [snip]

lgtm.

best,
sam

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-29  1:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18 20:45 [gentoo-dev] [PATCH] optfeature.eclass: Support EAPI-8 Andreas Sturmlechner
2021-07-23  6:44 ` [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Andreas Sturmlechner
2021-07-29  1:35   ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox