Signed-off-by: David Seifert <s...@gentoo.org>
---
 eclass/ada.eclass | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index bf4cd0c59bc..98f00972c54 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -6,7 +6,7 @@
 # Ada team <a...@gentoo.org>
 # @AUTHOR:
 # Tupone Alfredo <tup...@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 7 8
 # @BLURB: An eclass for Ada packages
 # @DESCRIPTION:
 # This eclass set the IUSE and REQUIRED_USE to request the ADA_TARGET
@@ -23,16 +23,9 @@
 #
 # Mostly copied from python-single-r1.eclass
 
-case "${EAPI:-0}" in
-       0|1|2|3|4|5)
-               die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
-               ;;
-       6|7|8)
-               # EAPI=5 is required for sane USE_EXPAND dependencies
-               ;;
-       *)
-               die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
-               ;;
+case ${EAPI} in
+       7|8) ;;
+       *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
 EXPORT_FUNCTIONS pkg_setup
-- 
2.39.0


Reply via email to