eclass/java-pkg-opt-2: Sync with Gentoo

It's from Gentoo commit 528b99658a59955f36055f2529ebe189dae556d1.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-01 07:10:27 +00:00 committed by Krzesimir Nowak
parent 8d410d436b
commit 2dd4d2b199

View File

@ -1,4 +1,4 @@
# Copyright 2004-2023 Gentoo Authors
# Copyright 2004-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: java-pkg-opt-2.eclass
@ -6,7 +6,7 @@
# java@gentoo.org
# @AUTHOR:
# Thomas Matthijs <axxo@gentoo.org>
# @SUPPORTED_EAPIS: 7 8
# @SUPPORTED_EAPIS: 8
# @PROVIDES: java-utils-2
# @BLURB: Eclass for package with optional Java support
# @DESCRIPTION:
@ -14,7 +14,7 @@
# support.
case ${EAPI} in
7|8) ;;
8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac