mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
java-pkg-simple.eclass: Support EAPI 9
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# java@gentoo.org
|
||||
# @AUTHOR:
|
||||
# Java maintainers <java@gentoo.org>
|
||||
# @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
|
||||
|
||||
Reference in New Issue
Block a user