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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24E0213933E for ; Fri, 23 Jul 2021 06:44:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D30CE0B92; Fri, 23 Jul 2021 06:44:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D2A8FE0B72 for ; Fri, 23 Jul 2021 06:44:42 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Date: Fri, 23 Jul 2021 08:44:32 +0200 Message-ID: <4611749.OV4Wx5bFTl@tuxbook> In-Reply-To: <2552085.vuYhMxLoTh@tuxbook> References: <2552085.vuYhMxLoTh@tuxbook> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart25033738.1r3eYUQgxm"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: b79ef1f3-35bb-4faf-8620-b80c4c26a946 X-Archives-Hash: 48aa094ada6c81204d5fcfc974ea9c2b --nextPart25033738.1r3eYUQgxm Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Subject: [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Date: Fri, 23 Jul 2021 08:44:32 +0200 Message-ID: <4611749.OV4Wx5bFTl@tuxbook> In-Reply-To: <2552085.vuYhMxLoTh@tuxbook> References: <2552085.vuYhMxLoTh@tuxbook> Signed-off-by: Andreas Sturmlechner --- 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 --nextPart25033738.1r3eYUQgxm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEexlipVqzuLtTjHMOREsPlv/SLMsFAmD6ZVBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdC MTk2MkE1NUFCM0I4QkI1MzhDNzMwRTQ0NEIwRjk2RkZEMjJDQ0IACgkQREsPlv/S LMtcfggAgt6FxBK00qfXr1K56TFFsbTGvlDUx3ml9JZcn+JNjJQQwxWWECrJWWt7 DG1TrkR3sUCZcUum/piO7b87TvugXOu4kQlbkDngcr6JtrrlB9ko2fxVOskTvSXc Ms1VbjC6pFsHv0fu47Avo7pqI6KIK0iEt5CaPGg7xoR0jGLVOtdAX3hR0Ekd2814 1gOe65gNUEY8O+44JyJ7XiQ2Rm1udWaD1tFt7OuU0HHboHxundglu3qZjsYazz5k T5BfH+oXd2OF0LjPdjx+Wj7mqcDEZnhGXVy0qnoEMh39S3aGdWIWw7CYo8T1wWZP IwhDE2TTccYuTiJ4P666cGp1jiWFzA== =ZGj4 -----END PGP SIGNATURE----- --nextPart25033738.1r3eYUQgxm--