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 63D51138334 for ; Sun, 15 Sep 2019 17:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9A87E0900; Sun, 15 Sep 2019 17:30:25 +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 79B0EE0870 for ; Sun, 15 Sep 2019 17:30:25 +0000 (UTC) Received: from localhost.localdomain (c134-66.icpnet.pl [85.221.134.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 6D94C34B1ED; Sun, 15 Sep 2019 17:30:23 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: ulm@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7 Date: Sun, 15 Sep 2019 19:30:02 +0200 Message-Id: <20190915173002.337150-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.23.0 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: 8b542efe-9b3b-4db9-9c70-9bf1d8e8b081 X-Archives-Hash: 68bf5466da66e0ecf7d4e640d55d2e8a The eclass is currently used by exactly one ebuild which is at EAPI 5. Let's restrict allowed EAPIs just to 5 and 7, to cover a reasonable upgrade path for that ebuild while blocking proliferation of old EAPIs. Signed-off-by: Michał Górny --- eclass/bzr.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index 598a0f87fe6d..87a7cd64e617 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -9,7 +9,7 @@ # Mark Lee # Ulrich Müller # Christian Faulhammer -# @SUPPORTED_EAPIS: 2 3 4 5 6 7 +# @SUPPORTED_EAPIS: 5 7 # @BLURB: generic fetching functions for the Bazaar VCS # @DESCRIPTION: # The bzr.eclass provides functions to fetch and unpack sources from @@ -30,7 +30,7 @@ else fi case ${EAPI:-0} in - 2|3|4|5|6) ;; + 5) ;; 7) BDEPEND="${DEPEND}"; DEPEND="" ;; *) die "${EBZR}: EAPI ${EAPI:-0} is not supported" ;; esac -- 2.23.0