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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C75FD158086 for ; Thu, 9 Dec 2021 13:25:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B81AE0905; Thu, 9 Dec 2021 13:24:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9B95E08FC for ; Thu, 9 Dec 2021 13:24:02 +0000 (UTC) From: Marek Szuba To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 4/5] gnome2.eclass: standardise the EAPI guard Date: Thu, 9 Dec 2021 13:23:24 +0000 Message-Id: <20211209132325.297913-5-marecki@gentoo.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211209132325.297913-1-marecki@gentoo.org> References: <20211209132325.297913-1-marecki@gentoo.org> 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-Transfer-Encoding: 8bit X-Archives-Salt: b4c48b38-5743-4718-b06d-f1925e4a7bcd X-Archives-Hash: 16a523f609ff960bb7040733533225f6 Signed-off-by: Marek Szuba --- eclass/gnome2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 4b7c3acac06..c6d93a46bfe 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -21,14 +21,14 @@ GNOME2_EAUTORECONF=${GNOME2_EAUTORECONF:-""} [[ ${EAPI} == [56] ]] && inherit eutils ltprune inherit libtool gnome.org gnome2-utils xdg -case ${EAPI:-0} in +case ${EAPI} in 5) EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm ;; 6|7) EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm ;; - *) die "EAPI=${EAPI} is not supported" ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac # @ECLASS-VARIABLE: ELTCONF -- 2.32.0