mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-08 17:21:39 +01:00
eclass/java-utils-2: Sync with Gentoo
It's from Gentoo commit 6422c89097420c5510c6914dc82d5406d25c1e3e. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
0ecbe95a4a
commit
9355aed23b
@ -6,7 +6,7 @@
|
||||
# java@gentoo.org
|
||||
# @AUTHOR:
|
||||
# Thomas Matthijs <axxo@gentoo.org>, Karl Trygve Kalleberg <karltk@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @SUPPORTED_EAPIS: 8 9
|
||||
# @BLURB: Base eclass for Java packages
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides functionality which is used by java-pkg-2.eclass and
|
||||
@ -20,7 +20,7 @@ if [[ -z ${_JAVA_UTILS_2_ECLASS} ]] ; then
|
||||
_JAVA_UTILS_2_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
@ -2017,7 +2017,7 @@ etestng() {
|
||||
java-utils-2_src_prepare() {
|
||||
# have default_src_prepare starting from EAPI 9, see https://bugs.gentoo.org/780585
|
||||
case ${EAPI} in
|
||||
[78]) eapply_user ;;
|
||||
8) eapply_user ;;
|
||||
*) default_src_prepare ;;
|
||||
esac
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user