commit:     2e742fdd4f55e215b641bed5dac4ea4c58da709a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 17 15:29:44 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 14:35:31 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e742fdd

java-pkg-simple.eclass: Support EAPI 9

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/java-pkg-simple.eclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass
index 40271156bb3a..b378a32183ff 100644
--- a/eclass/java-pkg-simple.eclass
+++ b/eclass/java-pkg-simple.eclass
@@ -6,7 +6,7 @@
 # [email protected]
 # @AUTHOR:
 # Java maintainers <[email protected]>
-# @SUPPORTED_EAPIS: 8
+# @SUPPORTED_EAPIS: 8 9
 # @BLURB: Eclass for packaging Java software with ease.
 # @DESCRIPTION:
 # This class is intended to build pure Java packages from Java sources
@@ -18,14 +18,14 @@
 # addressed by an ebuild by putting corresponding files into the target
 # directory before calling the src_compile function of this eclass.
 
+if [[ -z ${_JAVA_PKG_SIMPLE_ECLASS} ]] ; then
+_JAVA_PKG_SIMPLE_ECLASS=1
+
 case ${EAPI} in
-       8) ;;
+       8|9) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
-if [[ -z ${_JAVA_PKG_SIMPLE_ECLASS} ]] ; then
-_JAVA_PKG_SIMPLE_ECLASS=1
-
 inherit java-utils-2
 
 if has java-pkg-2 ${INHERITED}; then

Reply via email to