summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-12-16 09:37:56 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-12-16 09:51:00 +0200
commitb477ffe74f2dd77f4c9fd681f25b13efcf80e3eb (patch)
treeeaadf74987db664752d936fff17de8b0527361f1 /dev-java
parentdev-java/apache-rat-core: treeclean (diff)
downloadgentoo-b477ffe74f2dd77f4c9fd681f25b13efcf80e3eb.tar.gz
gentoo-b477ffe74f2dd77f4c9fd681f25b13efcf80e3eb.tar.bz2
gentoo-b477ffe74f2dd77f4c9fd681f25b13efcf80e3eb.zip
dev-java/apache-rat-tasks: treeclean
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/apache-rat-tasks/Manifest1
-rw-r--r--dev-java/apache-rat-tasks/apache-rat-tasks-0.13.ebuild71
-rw-r--r--dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch41
-rw-r--r--dev-java/apache-rat-tasks/metadata.xml8
4 files changed, 0 insertions, 121 deletions
diff --git a/dev-java/apache-rat-tasks/Manifest b/dev-java/apache-rat-tasks/Manifest
deleted file mode 100644
index bb5c63616d58..000000000000
--- a/dev-java/apache-rat-tasks/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST apache-rat-0.13-src.tar.bz2 197443 BLAKE2B 5880894bf48e62c97fefebe5672964a78016ba045ca6a13a9b100c1a15cf0a6933edc22c41cb3552f30ebea0486fd6b415f60902f0af7d96663611bfef1a1781 SHA512 564cb2b0f21c98ca5c10566417c0d2732cd177efb68607589e43bcf64eeedee7a570dbea7ef4d6237f6438ecb40d382cb96bd0d6f60c1d1ba1f76778f15ee26a
diff --git a/dev-java/apache-rat-tasks/apache-rat-tasks-0.13.ebuild b/dev-java/apache-rat-tasks/apache-rat-tasks-0.13.ebuild
deleted file mode 100644
index cdc925c1a2f0..000000000000
--- a/dev-java/apache-rat-tasks/apache-rat-tasks-0.13.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom apache-rat-tasks/pom.xml --download-uri https://mirrors.nav.ro/apache//creadur/apache-rat-0.13/apache-rat-0.13-src.tar.bz2 --slot 0 --keywords "~amd64 ~x86" --ebuild apache-rat-tasks-0.13.ebuild
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.apache.rat:apache-rat-tasks:0.13"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A plugin for Apache Ant that runs Apache Rat to audit the source"
-HOMEPAGE="https://creadur.apache.org/rat/apache-rat-tasks/"
-SRC_URI="mirror://apache//creadur/apache-rat-${PV}/apache-rat-${PV}-src.tar.bz2"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# Common dependencies
-# POM: ${PN}/pom.xml
-# org.apache.rat:apache-rat-core:0.13 -> >=dev-java/apache-rat-core-0.13:0
-
-CDEPEND="
- dev-java/ant-core:0
- ~dev-java/apache-rat-core-${PV}:0
-"
-
-# Compile dependencies
-# POM: ${PN}/pom.xml
-# org.apache.ant:ant:1.9.12 -> !!!groupId-not-found!!!
-# POM: ${PN}/pom.xml
-# test? junit:junit:4.12 -> >=dev-java/junit-4.12:4
-# test? org.apache.ant:ant-antunit:1.4 -> !!!groupId-not-found!!!
-# test? org.apache.ant:ant-testutil:1.9.12 -> !!!groupId-not-found!!!
-
-DEPEND="
- >=virtual/jdk-1.8:*
- ${CDEPEND}
- test? (
- dev-java/ant-testutil:0
- )"
-
-RDEPEND="
- >=virtual/jre-1.8:*
- ${CDEPEND}"
-
-S="${WORKDIR}/apache-rat-${PV}/${PN}"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-tests.patch"
-)
-
-JAVA_GENTOO_CLASSPATH="ant-core,apache-rat-core"
-JAVA_SRC_DIR="src/main/java"
-JAVA_RESOURCE_DIRS=(
- "src/main/resources"
-)
-
-JAVA_TEST_GENTOO_CLASSPATH="ant-testutil,junit-4"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS=(
- "src/test/resources"
-)
-
-src_prepare() {
- default
- java-utils-2_src_prepare
-}
diff --git a/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch b/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch
deleted file mode 100644
index 536b68371c3a..000000000000
--- a/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/src/test/resources/antunit/report-junit.xml b/src/test/resources/antunit/report-junit.xml
-index 54b0c9c..d12fee4 100644
---- a/src/test/resources/antunit/report-junit.xml
-+++ b/src/test/resources/antunit/report-junit.xml
-@@ -48,7 +48,7 @@
- <target name="all"/>
-
- <target name="testWithReportSentToFile">
-- <property name="report.file" location="${output.dir}/selftest.report"/>
-+ <property name="report.file" location="../../../../target/anttasks/selftest.report"/>
- <rat:report reportFile="${report.file}">
- <file file="${ant.file}"/>
- </rat:report>
-@@ -88,22 +88,22 @@
- <target name="testAddLicenseHeaders">
- <delete dir="${output.dir}/it-sources"/>
- <mkdir dir="${output.dir}/it-sources"/>
-- <copy file="src/test/resources/antunit/index.apt" tofile="${output.dir}/it-sources/index.apt"/>
-+ <copy file="index.apt" tofile="../../../../target/anttasks/it-sources/index.apt"/>
- <rat:report addLicenseHeaders="true">
-- <file file="${output.dir}/it-sources/index.apt"/>
-+ <file file="../../../../target/anttasks/it-sources/index.apt"/>
- </rat:report>
- </target>
-
- <target name="testISO88591">
- <rat:report format="xml">
-- <file file="src/test/resources/org/example/iso-8859-1.html"/>
-+ <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/>
- </rat:report>
- </target>
-
- <target name="testISO88591WithReportFile">
-- <property name="report.file" location="${output.dir}/selftest.report"/>
-+ <property name="report.file" location="../../../../target/anttasks/selftest.report"/>
- <rat:report reportFile="${report.file}" format="xml">
-- <file file="src/test/resources/org/example/iso-8859-1.html"/>
-+ <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/>
- </rat:report>
- </target>
- </project>
diff --git a/dev-java/apache-rat-tasks/metadata.xml b/dev-java/apache-rat-tasks/metadata.xml
deleted file mode 100644
index 6ef2d50cf07e..000000000000
--- a/dev-java/apache-rat-tasks/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-</pkgmetadata>