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 4A1EA1382C5 for ; Thu, 1 Apr 2021 09:57:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32C89E09EE; Thu, 1 Apr 2021 09:57:08 +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 E24C6E05C1 for ; Thu, 1 Apr 2021 09:57:07 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org, Sergei Trofimovich Subject: Re: [gentoo-dev] [PATCH v2 1/5] flag-o-matic.eclass: get rid of eutils in In-Reply-To: <20210331083321.24e5ead5@sf> References: <5252907.rdbgypaU67@tuxbook> <20210331083321.24e5ead5@sf> 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="nextPart4583852.OV4Wx5bFTl"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: bf45733d-8cce-4ac8-8db7-026ce1375a06 X-Archives-Hash: e05306cffd47249d706fa22efcc460cd --nextPart4583852.OV4Wx5bFTl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org, Sergei Trofimovich Subject: Re: [gentoo-dev] [PATCH v2 1/5] flag-o-matic.eclass: get rid of eutils in In-Reply-To: <20210331083321.24e5ead5@sf> References: <5252907.rdbgypaU67@tuxbook> <20210331083321.24e5ead5@sf> >From 0bdac63ac30fdbe2d1293d0ecbdbc2a5ea673112 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 28 Mar 2021 11:41:32 +0200 Subject: [PATCH 1/5] flag-o-matic.eclass: SUPPORTED_EAPIS: 5,6,7; drop eutils, multilib - eutils was only used for eqawarn in old EAPI - multilib usage unknown, but is inherited by toolchain-funcs anyway Signed-off-by: Andreas Sturmlechner --- eclass/flag-o-matic.eclass | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 20ee39d98ba..ab79f70392d 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: flag-o-matic.eclass # @MAINTAINER: # toolchain@gentoo.org +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: common functions to manipulate and query toolchain flags # @DESCRIPTION: # This eclass contains a suite of functions to help developers sanely @@ -12,7 +13,13 @@ if [[ -z ${_FLAG_O_MATIC_ECLASS} ]]; then _FLAG_O_MATIC_ECLASS=1 -inherit eutils toolchain-funcs multilib +inherit toolchain-funcs + +case ${EAPI} in + [0-4]) die "flag-o-matic.eclass: EAPI ${EAPI} is too old." ;; + [5-7]) inherit eutils ;; + *) die "EAPI ${EAPI} is not supported by flag-o-matic.eclass." ;; +esac # Return all the flag variables that our high level funcs operate on. all-flag-vars() { -- 2.31.0 --nextPart4583852.OV4Wx5bFTl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEE/x0UfMgLbk/MiQ+AUIqgAODug+AFAmBlmO1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZG MUQxNDdDQzgwQjZFNEZDQzg5MEY4MDUwOEFBMDAwRTBFRTgzRTAACgkQUIqgAODu g+B9ewf+MEu6l1ATeqsLpfdZaiSF39HTXHnHMwB+1bwa3TlqbOPAHOPzQRPjqkO7 Y25J/krS93C8K1C2oq6+hs/3gz68LehXQ059LAeoDQxG75dBH0jy9wY3MPpg1QEf CAKjiFCVJW/0XQ01RaRCl29CARbB/Z+T/jcvpViaaCdW4q43ITSo/QAGcA9YiHgG mlMltwjo6QvD7SFiDqvlW2zCuoJWLbEz58m3v9wHwVxWGX7V+GaohOmP/sNLwIH5 UH0VDXR18HRUfwu/boT5Q+ERs12iRwEWgQ31Rkss4rI6wFigYoR36rldQ5TrKRJs kNlmW5zwhgWGkq9hv+d9KHPb2Nwquw== =UDdI -----END PGP SIGNATURE----- --nextPart4583852.OV4Wx5bFTl--