commit: 18778345b809fd106fb1abf794a213a2e2a58309 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Mon Apr 19 10:57:16 2021 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Mon Apr 19 10:57:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18778345
dev-java/rat: bump to 0.13 Closes: https://bugs.gentoo.org/783819 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-java/rat/rat-0.13.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-java/rat/rat-0.13.ebuild b/dev-java/rat/rat-0.13.ebuild new file mode 100644 index 00000000000..ece22ac8b66 --- /dev/null +++ b/dev-java/rat/rat-0.13.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 + +DESCRIPTION="Apache Rat is a release audit tool, focused on licenses." +HOMEPAGE="https://creadur.apache.org/rat/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-java/apache-rat-core-${PV}:0 + ~dev-java/apache-rat-tasks-${PV}:0 + >=virtual/jre-1.8:* +" + +S="${WORKDIR}" + +src_compile() { :; } + +src_install() { + default + java-pkg_register-dependency apache-rat-core,apache-rat-tasks + java-pkg_dolauncher "apache-${PN}" --jar $(java-pkg_getjar apache-rat-core apache-rat-core.jar) --main org.apache.rat.Report +}
