• [gentoo-dev] [PATCH] eclass/java-utils-2.eclass: drop gnu-classpath

    From Florian Schmaus@21:1/5 to All on Fri Apr 29 11:00:01 2022
    From: "Volkmar W. Pogatzki" <gentoo@pogatzki.net>

    Bug: https://bugs.gentoo.org/786093

    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/21218
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    ---
    eclass/java-utils-2.eclass | 45 +++++++-------------------------------
    1 file changed, 8 insertions(+), 37 deletions(-)

    diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
    index 6303895885df..5b4783f350f2 100644
    --- a/eclass/java-utils-2.eclass
    +++ b/eclass/java-utils-2.eclass
    @@ -43,21 +43,6 @@ has test ${JAVA_PKG_IUSE} && RESTRICT+=" !test? ( test )"
    JAVA_PKG_E_DEPEND=">=dev-java/java-config-2.2.0-r3"
    has source ${JAVA_PKG_IUSE} && JAVA_PKG_E_DEPEND="${JAVA_PKG_E_DEPEND} source? ( app-arch/zip )"

    -# @ECLASS_VARIABLE: JAVA_PKG_WANT_BOOTCLASSPATH
    -# @DEFAULT_UNSET
    -# @DESCRIPTION:
    -# The version of bootclasspath the package needs to work. Translates to a proper
    -# dependency. The bootclasspath can then be obtained by java-ant_rewrite-bootclasspath
    -if [[ -n "${JAVA_PKG_WANT_BOOTCLASSPATH}" ]]; then
    - if [[ "${JAVA_PKG_WANT_BOOTCLASSPATH}" == "1.5" ]]; then
    - JAVA_PKG_E_DEPEND="${JAVA_PKG_E_DEPEND} >=dev-java/gnu-classpath-0.98-r1:0.98"
    - else
    - eerror "Unknown