commit: b678aa0284bfdaafd452347544b23e6ab654d3af
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 08:28:33 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 10:01:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b678aa02
java-pkg-2.eclass: Use standard EAPI guard
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eclass/java-pkg-2.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index 3a5c846a18e6..c17a9db26b3b 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -13,8 +13,8 @@
# This eclass should be inherited for pure Java packages, or by packages which
# need to use Java.
-case ${EAPI:-0} in
- [678]) ;;
+case ${EAPI} in
+ 6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac