diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 00:45:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 00:45:39 +0000 |
commit | 6c988f4ed171aed46326587a0ec0d64297b20f49 (patch) | |
tree | a1e28a95096953f81b35cb145abe37b83f20c174 /dev-java/apache-rat | |
parent | f50d60b8eb707b56133e594376e993b98e726b5d (diff) |
gentoo auto-resync : 11:03:2024 - 00:45:38
Diffstat (limited to 'dev-java/apache-rat')
-rw-r--r-- | dev-java/apache-rat/Manifest | 1 | ||||
-rw-r--r-- | dev-java/apache-rat/apache-rat-0.15.ebuild | 116 |
2 files changed, 0 insertions, 117 deletions
diff --git a/dev-java/apache-rat/Manifest b/dev-java/apache-rat/Manifest index 9d8491cd6cff..63ef4a083f2a 100644 --- a/dev-java/apache-rat/Manifest +++ b/dev-java/apache-rat/Manifest @@ -2,5 +2,4 @@ AUX apache-rat-0.15-fix-tests.patch 1751 BLAKE2B b4c55855c289db6c9f43dc5e5d28fc5 DIST apache-rat-0.15-src.tar.bz2 203040 BLAKE2B 0727fb932cfbab7080eba5115bee69e5c46155a231509109a5c7aecf40ed539d4357f2d9b31342717306221891e4a411e01077ae55a0988abe4926e40f1fafc4 SHA512 7f9fb219a5ce0b95909f006140b20e7621d9f5ce583c42a57e2783ec40fd842e75b546843ab033a99bf5108d0d8369a0ab1aac80e33af9685f651fed3dd603ee DIST apache-rat-0.15-src.tar.bz2.asc 833 BLAKE2B b87e059a5a83d3d728c28c25926129743fdfb6a5c7cf2e258892d86711e7f5890d140ca1cfa5fc1012d56b6321ec2c93903ec30854bd3536216c8f1fd269f504 SHA512 f5abcb3df5d23834deab8c3c1a476100324452cba88e9185fb398dd6118c3c8ff8dc00c4c9f8166245833d6e602c51bc8cdf20361813bbe1e720022766412b8d EBUILD apache-rat-0.15-r1.ebuild 2961 BLAKE2B 8cccc9a85a9d60645c2ce5ac7785267f92425ccaa63f7c2d7993341c06eebea8652caeebfa1648950dc00d771dc84144b47484550b8e036256dcbeb52d5f6854 SHA512 8f9d589aa4a776e45ad9472beac82b63cb5f68af4f40f384aaef16f27f9cac162164cce7f251cdbe53a9772ea7fc4a91df1120df95ed173474a95a159899c78a -EBUILD apache-rat-0.15.ebuild 3348 BLAKE2B ac1deecf106f5fac049b5abf7ea17aee0a472ccbb45e6e39f3bbc8d9ff69d4bd8a6c52515c1653cfc3f6a02751d7b8bf98d8d5aa20e34266f61a053794d969ed SHA512 e881328a8061367fce6fda69b3894513d26cc302283dc8350d8f316962059820c11d2afbaa3ed6fe67f99d54395be9520f2f11d0467325ca6512d0e2c1ef80c5 MISC metadata.xml 320 BLAKE2B 9451f2f8ba85ed8d1fba22da8fa3c905d4079c068d5e6e16af4296b5789b6ea2e2cdcf1d63ec5e275ede7b34ff49ff3bd41680a0bdda238ceb0d56103ef8f5fd SHA512 190d5b038f8962873e882f89d25f7532ad7c6144e6d8ea1337d7daaf1243d140fa98b6cde1604e138637b0eb50ae613097a23e6048291f275e0e6ec894360a50 diff --git a/dev-java/apache-rat/apache-rat-0.15.ebuild b/dev-java/apache-rat/apache-rat-0.15.ebuild deleted file mode 100644 index 278f8ba410cf..000000000000 --- a/dev-java/apache-rat/apache-rat-0.15.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# javadoc is broken for java 17, see https://bugs.gentoo.org/914458 -JAVA_PKG_IUSE="doc source test" -MAVEN_PROVIDES=" - org.apache.rat:apache-rat-core:${PV} - org.apache.rat:apache-rat-tasks:${PV} -" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Apache Rat is a release audit tool, focused on licenses" -HOMEPAGE="https://creadur.apache.org/rat/" -SRC_URI="mirror://apache//creadur/${P}/${P}-src.tar.bz2 - verify-sig? ( https://archive.apache.org/dist/creadur/${P}/${P}-src.tar.bz2.asc )" -S="${WORKDIR}/${P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" - -CP_DEPEND=" - dev-java/ant-core:0 - dev-java/commons-cli:1 - dev-java/commons-collections:4 - dev-java/commons-compress:0 - dev-java/commons-io:1 - dev-java/commons-lang:3.6 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - test? ( dev-java/ant-testutil:0 )" -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-creadur )" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/creadur.apache.org.asc" - -DOCS=( NOTICE README.md README.txt RELEASE-NOTES.txt RELEASE_NOTES.txt ) - -PATCHES=( "${FILESDIR}/apache-rat-0.15-fix-tests.patch" ) - -src_prepare() { - default #780585 - java-pkg-2_src_prepare -} - -src_compile() { - einfo "Compiling apache-rat-core.jar" - JAVA_JAR_FILENAME="${PN}-core.jar" - JAVA_RESOURCE_DIRS="${PN}-core/src/main/resources" - JAVA_SRC_DIR="${PN}-core/src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":${PN}-core.jar" - rm -r target || die - - einfo "Compiling apache-rat-tasks.jar" - JAVA_JAR_FILENAME="${PN}-tasks.jar" - JAVA_RESOURCE_DIRS="${PN}-tasks/src/main/resources" - JAVA_SRC_DIR="${PN}-tasks/src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":${PN}-tasks.jar" - rm -r target || die - - # javadoc is broken for java 17, see https://bugs.gentoo.org/914458 - if use doc; then - einfo "Compiling javadocs" - ejavadoc \ - -verbose \ - -classpath "$(java-pkg_getjars \ - --build-only ant-core)":"$(java-pkg_getjars \ - --build-only commons-cli-1)":"$(java-pkg_getjars \ - --build-only commons-collections-4)":"$(java-pkg_getjars \ - --build-only commons-compress):$(java-pkg_getjars \ - --build-only commons-io-1):$(java-pkg_getjars \ - --build-only commons-lang-3.6)" \ - -sourcepath "${PN}-core/src/main/java:${PN}-tasks/src/main/java" \ - -d javadoc -subpackages org.apache.rat org.apache.rat.anttasks - fi -} - -src_test() { - JAVA_TEST_GENTOO_CLASSPATH="ant-testutil,junit-4" - - einfo "Testing apache-rat-core" - cp -r "${PN}"-core/src/{main,test} src || die - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test - rm -r src/{main,test} || die - - einfo "Testing apache-rat-tasks" - cp -r "${PN}"-tasks/src/{main,test} src || die - mkdir -p target/it-sources || die - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test -} - -src_install() { - java-pkg_dojar "${PN}-core.jar" - java-pkg_dojar "${PN}-tasks.jar" - java-pkg_dolauncher "${PN}" --main org.apache.rat.Report - - use doc && java-pkg_dojavadoc javadoc - - if use source; then - java-pkg_dosrc "${PN}-core/src/main/java/*" - java-pkg_dosrc "${PN}-tasks/src/main/java/*" - fi -} |