• [gentoo-dev] [PATCH 3/3] junit5.eclass: add '--build-only' to java-pkg_

    From Volkmar W. Pogatzki@21:1/5 to All on Wed Jul 30 08:00:01 2025
    There were QA complaints about junit-5 not found with a slot in DEPEND.

    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    ---
    eclass/junit5.eclass | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/eclass/junit5.eclass b/eclass/junit5.eclass
    index 733785b87455..ee2f067f2803 100755
    --- a/eclass/junit5.eclass
    +++ b/eclass/junit5.eclass
    @@ -152,7 +152,7 @@ ejunit5() {
    fi

    local junit="junit-5"
    - local cp=$(java-pkg_getjars --with-dependencies ${junit}${pkgs})
    + local cp=$(java-pkg_getjars --build-only --with-dependencies ${junit}${pkgs})
    if [[ ${1} = -cp || ${1} = -classpath ]]; then
    cp="${2}:${cp}"
    shift 2
    --
    2.41.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)