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 965D1158094 for ; Sat, 1 Oct 2022 08:40:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C496E0AFD; Sat, 1 Oct 2022 08:39:55 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E629BE0AF9 for ; Sat, 1 Oct 2022 08:39:54 +0000 (UTC) From: =?UTF-8?q?Ulrich=20M=C3=BCller?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Ulrich=20M=C3=BCller?= Subject: [gentoo-dev] [PATCH 2/2] desktop.eclass: Add EAPI guard Date: Sat, 1 Oct 2022 10:39:18 +0200 Message-Id: <20221001083918.30129-3-ulm@gentoo.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001083918.30129-1-ulm@gentoo.org> References: <20221001083918.30129-1-ulm@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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7ab9c2fe-4863-4296-a719-ff4826d12fab X-Archives-Hash: 17e1525b9d8e202ed967231054b1bfc3 Signed-off-by: Ulrich Müller --- eclass/desktop.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/desktop.eclass b/eclass/desktop.eclass index 01de8b61ae1c..aa1b9ac68d85 100644 --- a/eclass/desktop.eclass +++ b/eclass/desktop.eclass @@ -4,8 +4,14 @@ # @ECLASS: desktop.eclass # @MAINTAINER: # base-system@gentoo.org +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: support for desktop files, menus, and icons +case ${EAPI} in + 6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_DESKTOP_ECLASS} ]]; then _DESKTOP_ECLASS=1 -- 2.37.3