On Montag, 17. Dezember 2018 09:09:13 CET Marty E. Plummer wrote:
> @@ -15,7 +15,7 @@
> # you should inherit java-pkg-2 for Java packages or java-pkg-opt-2 for
> packages # that have optional Java support. In addition you can inherit
> java-ant-2 for # Ant-based packages.
> -inherit eutils versionator multilib
> +inherit eutils multilib
I would recommend to keep inheriting all those eclasses (including
versionator) for EAPI 0-6, in order not to break revdeps with implicit use.
Who knows in what shape they are, and no one is going to fix them for a long
time. But we don't want to inherit any of them with EAPI-7, hence merge it
with below hunk.
> @@ -25,6 +25,9 @@ export WANT_JAVA_CONFIG="2"
> # Prefix variables are only available for EAPI>=3
> has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
>
> +# EAPI 7 has version functions built-in. Use eapi7-ver for all earlier
> eclasses.
> +[[ ${EAPI} == [0123456] ]] && inherit eapi7-ver
> +
> # @VARIABLE: JAVA_PKG_E_DEPEND
> # @INTERNAL
> # @DESCRIPTION:
Regards,
Andreas