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 <[email protected]>
---
 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 <[email protected]>
 # Ulrich Müller <[email protected]>
 # Christian Faulhammer <[email protected]>
-# @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


Reply via email to