From 2e742fdd4f55e215b641bed5dac4ea4c58da709a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Wed, 17 Dec 2025 16:29:44 +0100 Subject: [PATCH] java-pkg-simple.eclass: Support EAPI 9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/java-pkg-simple.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index 40271156bb3a3..b378a32183ff4 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg-simple.eclass @@ -6,7 +6,7 @@ # java@gentoo.org # @AUTHOR: # Java maintainers -# @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. -case ${EAPI} in - 8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - if [[ -z ${_JAVA_PKG_SIMPLE_ECLASS} ]] ; then _JAVA_PKG_SIMPLE_ECLASS=1 +case ${EAPI} in + 8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + inherit java-utils-2 if has java-pkg-2 ${INHERITED}; then