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 B05A9158086 for ; Thu, 9 Dec 2021 13:24:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 578EAE0896; Thu, 9 Dec 2021 13:23:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12F34E088F for ; Thu, 9 Dec 2021 13:23:55 +0000 (UTC) From: Marek Szuba To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 2/5] gnome2-utils.eclass: support EAPI 8 Date: Thu, 9 Dec 2021 13:23:22 +0000 Message-Id: <20211209132325.297913-3-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: 40ea1e2d-13e3-46d2-8d7c-7d1d93c6659d X-Archives-Hash: a9d61fdd44af46d5ea697d21f5fbfcde Trivial now that emktemp is gone. While at it, include eclass name in the "EAPI x not supported" error message. Signed-off-by: Marek Szuba --- eclass/gnome2-utils.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 39c4797eedf..97b845c7b88 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -4,7 +4,7 @@ # @ECLASS: gnome2-utils.eclass # @MAINTAINER: # gnome@gentoo.org -# @SUPPORTED_EAPIS: 5 6 7 +# @SUPPORTED_EAPIS: 5 6 7 8 # @PROVIDES: xdg-utils # @BLURB: Auxiliary functions commonly used by Gnome packages. # @DESCRIPTION: @@ -21,8 +21,8 @@ inherit toolchain-funcs xdg-utils case ${EAPI} in - 5|6|7) ;; - *) die "EAPI=${EAPI} is not supported" ;; + 5|6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac # @ECLASS-VARIABLE: GCONFTOOL_BIN -- 2.32.0