Skip to content

Commit

Permalink
eclass/java-vm-2.eclass: bump to eapi8
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
fordfrog committed Nov 27, 2021
1 parent fa10667 commit d8bb841
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions eclass/java-vm-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# @ECLASS: java-vm-2.eclass
# @MAINTAINER:
# [email protected]
# @SUPPORTED_EAPIS: 5 6
# @SUPPORTED_EAPIS: 6 8
# @BLURB: Java Virtual Machine eclass
# @DESCRIPTION:
# This eclass provides functionality which assists with installing
# virtual machines, and ensures that they are recognized by java-config.

case ${EAPI:-0} in
5|6) ;;
[68]) ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac

Expand All @@ -20,8 +20,9 @@ inherit multilib pax-utils prefix xdg-utils
EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_prerm pkg_postrm

RDEPEND="
>=dev-java/java-config-2.2.0-r3
>=app-eselect/eselect-java-0.4.0"
dev-java/java-config
app-eselect/eselect-java
"
DEPEND="${RDEPEND}"

export WANT_JAVA_CONFIG=2
Expand Down

0 comments on commit d8bb841

Please sign in to comment.