• Re: [gentoo-dev] [PATCH 1/3] java-pkg-junit-5.eclass: new eclass

    From Sam James@21:1/5 to Volkmar W. Pogatzki on Wed Jul 30 09:50:01 2025
    "Volkmar W. Pogatzki" <gentoo@pogatzki.net> writes:

    Thanks to Yuan Liao <liaoyuan@gmail.com> for providing this excellent
    work. Copied from https://github.com/Leo3418/junit-5-ebuild-repo

    Can you add a:
    a) Co-authored-by: ... line above your Signed-off-by for Yuan Liao?
    2) Ask if they can provide a Signed-off-by we can use too? It would go
    above yours.

    Not reviewed the eclass itself -- I don't expect to have comments
    though. I can try find time to look over it another time if needed.


    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    ---
    eclass/java-pkg-junit-5.eclass | 500 +++++++++++++++++++++++++++++++++
    1 file changed, 500 insertions(+)
    create mode 100755 eclass/java-pkg-junit-5.eclass

    diff --git a/eclass/java-pkg-junit-5.eclass b/eclass/java-pkg-junit-5.eclass new file mode 100755
    index 000000000000..cd3101f3eccd
    --- /dev/null
    +++ b/eclass/java-pkg-junit-5.eclass
    @@ -0,0 +1,500 @@
    +# Copyright 2022-2025 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: java-pkg-junit-5.eclass
    +# @MAINTAINER:
    +# Yuan Liao <liaoyuan@gmail.com>

    I imagine you want java@ here too.

    +# @AUTHOR:
    +# Yuan Liao <liaoyuan@gmail.com>
    +# @SUPPORTED_EAPIS: 8

    [...]

    sam

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Volkmar W. Pogatzki@21:1/5 to All on Wed Jul 30 08:00:01 2025
    Thanks to Yuan Liao <liaoyuan@gmail.com> for providing this excellent
    work. Copied from https://github.com/Leo3418/junit-5-ebuild-repo

    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    ---
    eclass/java-pkg-junit-5.eclass | 500 +++++++++++++++++++++++++++++++++
    1 file changed, 500 insertions(+)
    create mode 100755 eclass/java-pkg-junit-5.eclass

    diff --git a/eclass/java-pkg-junit-5.eclass b/eclass/java-pkg-junit-5.eclass new file mode 100755
    index 000000000000..cd3101f3eccd
    --- /dev/null
    +++ b/eclass/java-pkg-junit-5.eclass
    @@ -0,0 +1,500 @@
    +# Copyright 2022-2025 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: java-pkg-junit-5.eclass
    +# @MAINTAINER:
    +# Yuan Liao <liaoyuan@gmail.com>
    +# @AUTHOR:
    +# Yuan Liao <liaoyuan@gmail.com>
    +# @SUPPORTED_EAPIS: 8
    +# @BLURB: Experimental eclass to add support for testing on the JUnit Platform +# @DESCRIPTION:
    +# This eclass runs tests on the JUnit Platform (which is a JUnit 5 sub-project)
    +# during the src_test phase. It is an experimental eclass whose code should +# eventually be merged into java-utils-2.eclass and/or java-pkg-simple.eclass +# when it is mature.
    +
    +if [[ ! ${_