1 |
commit: 35e878e841575a26d8d1647f2cc3d46fb94866db |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 09:24:58 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 09:24:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e878e8 |
7 |
|
8 |
dev-java/xerial-core: removed obsolete 2.0.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833409 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
dev-java/xerial-core/files/2.0.1-build.xml | 140 -------------------------- |
15 |
dev-java/xerial-core/xerial-core-2.0.1.ebuild | 46 --------- |
16 |
2 files changed, 186 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/xerial-core/files/2.0.1-build.xml b/dev-java/xerial-core/files/2.0.1-build.xml |
19 |
deleted file mode 100644 |
20 |
index 76a6adfcb189..000000000000 |
21 |
--- a/dev-java/xerial-core/files/2.0.1-build.xml |
22 |
+++ /dev/null |
23 |
@@ -1,140 +0,0 @@ |
24 |
-<?xml version="1.0" encoding="UTF-8"?> |
25 |
- |
26 |
-<project name="xerial-core-from-maven" default="package" basedir="."> |
27 |
- <property file="${user.home}/.m2/maven.properties" /> |
28 |
- <property file="maven-build.properties" /> |
29 |
- |
30 |
- <property name="maven.build.finalName" value="xerial-core-2.0.1" /> |
31 |
- <property name="maven.build.dir" value="target" /> |
32 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes" /> |
33 |
- <property name="maven.build.srcDir.0" value="src/main/java" /> |
34 |
- <property name="maven.build.resourceDir.0" value="src/main/java" /> |
35 |
- <property name="maven.build.resourceDir.1" value="src/main/resources" /> |
36 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" /> |
37 |
- <property name="maven.build.testDir.0" value="src/test/java" /> |
38 |
- <property name="maven.build.testResourceDir.0" value="src/test/java" /> |
39 |
- <property name="maven.build.testResourceDir.1" value="src/test/resources" /> |
40 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports" /> |
41 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" /> |
42 |
- |
43 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository" /> |
44 |
- <property name="maven.settings.offline" value="false" /> |
45 |
- <property name="maven.settings.interactiveMode" value="true" /> |
46 |
- |
47 |
- <path id="build.classpath" /> |
48 |
- <path id="build.test.classpath" /> |
49 |
- |
50 |
- <target name="clean" description="Clean the output directory"> |
51 |
- <delete dir="${maven.build.dir}" /> |
52 |
- </target> |
53 |
- |
54 |
- |
55 |
- <target name="compile" description="Compile the code"> |
56 |
- <mkdir dir="${maven.build.outputDir}" /> |
57 |
- <javac destdir="${maven.build.outputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6"> |
58 |
- <src> |
59 |
- <pathelement location="${maven.build.srcDir.0}" /> |
60 |
- </src> |
61 |
- <classpath refid="build.classpath" /> |
62 |
- </javac> |
63 |
- <copy todir="${maven.build.outputDir}"> |
64 |
- <fileset dir="${maven.build.resourceDir.0}"> |
65 |
- <exclude name="**/*.java" /> |
66 |
- </fileset> |
67 |
- </copy> |
68 |
- </target> |
69 |
- |
70 |
- |
71 |
- <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip"> |
72 |
- <mkdir dir="${maven.build.testOutputDir}" /> |
73 |
- <javac destdir="${maven.build.testOutputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6"> |
74 |
- <src> |
75 |
- <pathelement location="${maven.build.testDir.0}" /> |
76 |
- </src> |
77 |
- <classpath> |
78 |
- <path refid="build.test.classpath" /> |
79 |
- <pathelement location="${maven.build.outputDir}" /> |
80 |
- </classpath> |
81 |
- </javac> |
82 |
- <copy todir="${maven.build.testOutputDir}"> |
83 |
- <fileset dir="${maven.build.testResourceDir.0}"> |
84 |
- <exclude name="**/*.java" /> |
85 |
- </fileset> |
86 |
- </copy> |
87 |
- <copy todir="${maven.build.testOutputDir}"> |
88 |
- <fileset dir="${maven.build.testResourceDir.1}" /> |
89 |
- </copy> |
90 |
- </target> |
91 |
- |
92 |
- <target name="test" depends="compile-tests, junit-missing" unless="junit.skipped" description="Run the test cases"> |
93 |
- <mkdir dir="${maven.test.reports}" /> |
94 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
95 |
- <sysproperty key="basedir" value="." /> |
96 |
- <formatter type="xml" /> |
97 |
- <formatter type="plain" usefile="false" /> |
98 |
- <classpath> |
99 |
- <path refid="build.test.classpath" /> |
100 |
- <pathelement location="${maven.build.outputDir}" /> |
101 |
- <pathelement location="${maven.build.testOutputDir}" /> |
102 |
- </classpath> |
103 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
104 |
- <fileset dir="${maven.build.testDir.0}"> |
105 |
- <include name="**/Test*.java" /> |
106 |
- <include name="**/*Test.java" /> |
107 |
- <include name="**/*TestCase.java" /> |
108 |
- <exclude name="**/*Abstract*Test.java" /> |
109 |
- </fileset> |
110 |
- </batchtest> |
111 |
- <batchtest todir="${maven.test.reports}" if="test"> |
112 |
- <fileset dir="${maven.build.testDir.0}"> |
113 |
- <include name="**/${test}.java" /> |
114 |
- <exclude name="**/*Abstract*Test.java" /> |
115 |
- </fileset> |
116 |
- </batchtest> |
117 |
- </junit> |
118 |
- </target> |
119 |
- |
120 |
- <target name="test-junit-present"> |
121 |
- <available classname="junit.framework.Test" property="junit.present" /> |
122 |
- </target> |
123 |
- |
124 |
- <target name="test-junit-status" depends="test-junit-present"> |
125 |
- <condition property="junit.missing"> |
126 |
- <and> |
127 |
- <isfalse value="${junit.present}" /> |
128 |
- <isfalse value="${maven.test.skip}" /> |
129 |
- </and> |
130 |
- </condition> |
131 |
- <condition property="junit.skipped"> |
132 |
- <or> |
133 |
- <isfalse value="${junit.present}" /> |
134 |
- <istrue value="${maven.test.skip}" /> |
135 |
- </or> |
136 |
- </condition> |
137 |
- </target> |
138 |
- |
139 |
- <target name="junit-missing" depends="test-junit-status" if="junit.missing"> |
140 |
- <echo>=================================== WARNING ===================================</echo> |
141 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
142 |
- <echo>===============================================================================</echo> |
143 |
- </target> |
144 |
- |
145 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
146 |
- <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" charset="ISO-8859-1" linksource="false" breakiterator="false"> |
147 |
- <doctitle><![CDATA[xerial-core-2.0.1 API]]></doctitle> |
148 |
- </javadoc> |
149 |
- </target> |
150 |
- |
151 |
- <target name="package" depends="compile,test" description="Package the application"> |
152 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="false" basedir="${maven.build.outputDir}" excludes="**/package.html" /> |
153 |
- </target> |
154 |
- |
155 |
- <target name="jar" depends="package" description="Builds the jar for the application" /> |
156 |
- |
157 |
- <target name="test-offline"> |
158 |
- <condition property="maven.mode.offline"> |
159 |
- <equals arg1="${maven.settings.offline}" arg2="true" /> |
160 |
- </condition> |
161 |
- </target> |
162 |
- |
163 |
-</project> |
164 |
|
165 |
diff --git a/dev-java/xerial-core/xerial-core-2.0.1.ebuild b/dev-java/xerial-core/xerial-core-2.0.1.ebuild |
166 |
deleted file mode 100644 |
167 |
index edaab8c4a833..000000000000 |
168 |
--- a/dev-java/xerial-core/xerial-core-2.0.1.ebuild |
169 |
+++ /dev/null |
170 |
@@ -1,46 +0,0 @@ |
171 |
-# Copyright 1999-2016 Gentoo Foundation |
172 |
-# Distributed under the terms of the GNU General Public License v2 |
173 |
- |
174 |
-EAPI=5 |
175 |
- |
176 |
-JAVA_PKG_IUSE="doc source test" |
177 |
- |
178 |
-inherit java-pkg-2 java-ant-2 |
179 |
- |
180 |
-DESCRIPTION="An open-source DBMS for XML/JSON/Relational data" |
181 |
-HOMEPAGE="https://code.google.com/p/xerial/" |
182 |
-SRC_URI="https://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2" |
183 |
- |
184 |
-LICENSE="Apache-2.0" |
185 |
- |
186 |
-SLOT="0" |
187 |
-KEYWORDS="amd64 x86" |
188 |
-IUSE="" |
189 |
- |
190 |
-DEPEND=" |
191 |
- >=virtual/jdk-1.6 |
192 |
- test? ( |
193 |
- dev-java/junit:4 |
194 |
- )" |
195 |
- |
196 |
-RDEPEND=" |
197 |
- >=virtual/jre-1.6" |
198 |
- |
199 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
200 |
-EANT_TEST_GENTOO_CLASSPATH="junit-4" |
201 |
-EANT_TEST_ANT_TASKS="ant-junit" |
202 |
- |
203 |
-java_prepare() { |
204 |
- cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die |
205 |
-} |
206 |
- |
207 |
-src_install() { |
208 |
- java-pkg_newjar "${S}/target/${P}.jar" "${PN}.jar" |
209 |
- |
210 |
- use source && java-pkg_dosrc "${S}"/src/main/java/* |
211 |
- use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs |
212 |
-} |
213 |
- |
214 |
-src_test() { |
215 |
- java-pkg-2_src_test |
216 |
-} |