1 |
commit: 9a562826a88be86c3a848ce9df8336e781748921 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 18:04:13 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 18:04:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a562826 |
7 |
|
8 |
dev-java/joda-time: removed obsolete 2.7-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
dev-java/joda-time/Manifest | 1 - |
14 |
dev-java/joda-time/files/joda-time-2.7-build.xml | 262 ----------------------- |
15 |
dev-java/joda-time/joda-time-2.7-r1.ebuild | 61 ------ |
16 |
3 files changed, 324 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest |
19 |
index e095d554d3b..a0252fc3468 100644 |
20 |
--- a/dev-java/joda-time/Manifest |
21 |
+++ b/dev-java/joda-time/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST joda-time-2.10.10.tar.gz 1052384 BLAKE2B 656efddf6b98f10ce6729c6fa4c76ddfeb86dd94971c2637af3ddcb8a3a47f83948dbd58b04a6249445ef2857c5c5edb994a6d56349ed4ff4130ce9aaebd57e9 SHA512 e7917fd28cd10d7fbee02016b1f13a15a80af099b952cc0e8978bfc7fa389109553804670492c206f2b49bcf910ea093fc1838cb45ce4b7a3a885aac2aaf5943 |
24 |
-DIST joda-time-2.7-dist.tar.gz 4007765 BLAKE2B ed34c988dae1f1fb3359e06cccc148f680a04244987464770024635e72d5693036ec4d1648245f44db2fd57c47d9842a964d39e04e9ba510ecda7ec25c853ee7 SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209 |
25 |
|
26 |
diff --git a/dev-java/joda-time/files/joda-time-2.7-build.xml b/dev-java/joda-time/files/joda-time-2.7-build.xml |
27 |
deleted file mode 100644 |
28 |
index fa1fd5e25a3..00000000000 |
29 |
--- a/dev-java/joda-time/files/joda-time-2.7-build.xml |
30 |
+++ /dev/null |
31 |
@@ -1,262 +0,0 @@ |
32 |
-<?xml version="1.0" encoding="UTF-8"?> |
33 |
- |
34 |
-<!-- ====================================================================== --> |
35 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
36 |
-<!-- ====================================================================== --> |
37 |
- |
38 |
-<!-- ====================================================================== --> |
39 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
40 |
-<!-- ====================================================================== --> |
41 |
-<!-- --> |
42 |
-<!-- Any modifications will be overwritten. --> |
43 |
-<!-- --> |
44 |
-<!-- Generated by Maven Ant Plugin on 3/22/15 5:59 PM --> |
45 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
46 |
-<!-- --> |
47 |
-<!-- ====================================================================== --> |
48 |
- |
49 |
-<project name="joda-time-from-maven" default="package" basedir="."> |
50 |
- |
51 |
- <!-- ====================================================================== --> |
52 |
- <!-- Build environment properties --> |
53 |
- <!-- ====================================================================== --> |
54 |
- |
55 |
- <property file="${user.home}/.m2/maven.properties"/> |
56 |
- <property file="maven-build.properties"/> |
57 |
- |
58 |
- <property name="maven.build.finalName" value="joda-time-2.7"/> |
59 |
- <property name="maven.build.dir" value="target"/> |
60 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
61 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
62 |
- <property name="maven.build.resourceDir.0" value="."/> |
63 |
- <property name="maven.build.resourceDir.1" value="src/main/java"/> |
64 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
65 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
66 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
67 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
68 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
69 |
- |
70 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
71 |
- <property name="maven.settings.offline" value="false"/> |
72 |
- <property name="maven.settings.interactiveMode" value="true"/> |
73 |
- |
74 |
- <!-- ====================================================================== --> |
75 |
- <!-- Defining classpaths --> |
76 |
- <!-- ====================================================================== --> |
77 |
- |
78 |
- <path id="build.classpath"> |
79 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
80 |
- </path> |
81 |
- <path id="build.test.classpath"> |
82 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
83 |
- <pathelement location="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar"/> |
84 |
- </path> |
85 |
- |
86 |
- <!-- ====================================================================== --> |
87 |
- <!-- Cleaning up target --> |
88 |
- <!-- ====================================================================== --> |
89 |
- |
90 |
- <target name="clean" description="Clean the output directory"> |
91 |
- <delete dir="${maven.build.dir}"/> |
92 |
- </target> |
93 |
- |
94 |
- <!-- ====================================================================== --> |
95 |
- <!-- Compilation target --> |
96 |
- <!-- ====================================================================== --> |
97 |
- |
98 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
99 |
- <mkdir dir="${maven.build.outputDir}"/> |
100 |
- <javac destdir="${maven.build.outputDir}" |
101 |
- nowarn="false" |
102 |
- debug="true" |
103 |
- optimize="true" |
104 |
- deprecation="false" |
105 |
- target="1.5" |
106 |
- verbose="true" |
107 |
- fork="true" |
108 |
- source="1.5"> |
109 |
- <src> |
110 |
- <pathelement location="${maven.build.srcDir.0}"/> |
111 |
- </src> |
112 |
- <classpath refid="build.classpath"/> |
113 |
- </javac> |
114 |
- <mkdir dir="${maven.build.outputDir}/META-INF"/> |
115 |
- <copy todir="${maven.build.outputDir}/META-INF"> |
116 |
- <fileset dir="${maven.build.resourceDir.0}"> |
117 |
- <include name="LICENSE.txt"/> |
118 |
- <include name="NOTICE.txt"/> |
119 |
- </fileset> |
120 |
- </copy> |
121 |
- </target> |
122 |
- |
123 |
- <!-- ====================================================================== --> |
124 |
- <!-- Test-compilation target --> |
125 |
- <!-- ====================================================================== --> |
126 |
- |
127 |
- <target name="compile-tests" |
128 |
- depends="compile" |
129 |
- description="Compile the test code" |
130 |
- unless="maven.test.skip"> |
131 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
132 |
- <javac destdir="${maven.build.testOutputDir}" |
133 |
- nowarn="false" |
134 |
- debug="true" |
135 |
- optimize="true" |
136 |
- deprecation="false" |
137 |
- target="1.5" |
138 |
- verbose="true" |
139 |
- fork="true" |
140 |
- source="1.5"> |
141 |
- <src> |
142 |
- <pathelement location="${maven.build.testDir.0}"/> |
143 |
- </src> |
144 |
- <classpath> |
145 |
- <path refid="build.test.classpath"/> |
146 |
- <pathelement location="${maven.build.outputDir}"/> |
147 |
- </classpath> |
148 |
- </javac> |
149 |
- <copy todir="${maven.build.testOutputDir}"> |
150 |
- <fileset dir="${maven.build.testResourceDir.0}"/> |
151 |
- </copy> |
152 |
- </target> |
153 |
- |
154 |
- <!-- ====================================================================== --> |
155 |
- <!-- Run all tests --> |
156 |
- <!-- ====================================================================== --> |
157 |
- |
158 |
- <target name="test" |
159 |
- depends="compile-tests, junit-missing" |
160 |
- unless="junit.skipped" |
161 |
- description="Run the test cases"> |
162 |
- <mkdir dir="${maven.test.reports}"/> |
163 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
164 |
- <sysproperty key="basedir" value="."/> |
165 |
- <formatter type="xml"/> |
166 |
- <formatter type="plain" usefile="false"/> |
167 |
- <classpath> |
168 |
- <path refid="build.test.classpath"/> |
169 |
- <pathelement location="${maven.build.outputDir}"/> |
170 |
- <pathelement location="${maven.build.testOutputDir}"/> |
171 |
- </classpath> |
172 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
173 |
- <fileset dir="${maven.build.testDir.0}"> |
174 |
- <include name="**/TestAllPackages.java"/> |
175 |
- <exclude name="**/*Abstract*Test.java"/> |
176 |
- </fileset> |
177 |
- </batchtest> |
178 |
- <batchtest todir="${maven.test.reports}" if="test"> |
179 |
- <fileset dir="${maven.build.testDir.0}"> |
180 |
- <include name="**/${test}.java"/> |
181 |
- <exclude name="**/*Abstract*Test.java"/> |
182 |
- </fileset> |
183 |
- </batchtest> |
184 |
- </junit> |
185 |
- </target> |
186 |
- |
187 |
- <target name="test-junit-present"> |
188 |
- <available classname="junit.framework.Test" property="junit.present"/> |
189 |
- </target> |
190 |
- |
191 |
- <target name="test-junit-status" |
192 |
- depends="test-junit-present"> |
193 |
- <condition property="junit.missing"> |
194 |
- <and> |
195 |
- <isfalse value="${junit.present}"/> |
196 |
- <isfalse value="${maven.test.skip}"/> |
197 |
- </and> |
198 |
- </condition> |
199 |
- <condition property="junit.skipped"> |
200 |
- <or> |
201 |
- <isfalse value="${junit.present}"/> |
202 |
- <istrue value="${maven.test.skip}"/> |
203 |
- </or> |
204 |
- </condition> |
205 |
- </target> |
206 |
- |
207 |
- <target name="junit-missing" |
208 |
- depends="test-junit-status" |
209 |
- if="junit.missing"> |
210 |
- <echo>=================================== WARNING ===================================</echo> |
211 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
212 |
- <echo>===============================================================================</echo> |
213 |
- </target> |
214 |
- |
215 |
- <!-- ====================================================================== --> |
216 |
- <!-- Javadoc target --> |
217 |
- <!-- ====================================================================== --> |
218 |
- |
219 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
220 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
221 |
- packagenames="*" |
222 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
223 |
- access="protected" |
224 |
- old="false" |
225 |
- verbose="false" |
226 |
- encoding="UTF-8" |
227 |
- version="true" |
228 |
- use="true" |
229 |
- author="true" |
230 |
- splitindex="false" |
231 |
- nodeprecated="false" |
232 |
- nodeprecatedlist="false" |
233 |
- notree="false" |
234 |
- noindex="false" |
235 |
- nohelp="false" |
236 |
- nonavbar="false" |
237 |
- serialwarn="false" |
238 |
- charset="ISO-8859-1" |
239 |
- linksource="true" |
240 |
- breakiterator="false"> |
241 |
- <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/> |
242 |
- <group title="User packages"/> |
243 |
- <group title="Implementation packages"/> |
244 |
- </javadoc> |
245 |
- </target> |
246 |
- |
247 |
- <!-- ====================================================================== --> |
248 |
- <!-- Package target --> |
249 |
- <!-- ====================================================================== --> |
250 |
- |
251 |
- <target name="package" depends="compile,test" description="Package the application"> |
252 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
253 |
- compress="true" |
254 |
- index="false" |
255 |
- basedir="${maven.build.outputDir}" |
256 |
- excludes="**/package.html"> |
257 |
- </jar> |
258 |
- </target> |
259 |
- |
260 |
- <!-- ====================================================================== --> |
261 |
- <!-- A dummy target for the package named after the type it creates --> |
262 |
- <!-- ====================================================================== --> |
263 |
- |
264 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
265 |
- |
266 |
- <!-- ====================================================================== --> |
267 |
- <!-- Download dependencies target --> |
268 |
- <!-- ====================================================================== --> |
269 |
- |
270 |
- <target name="test-offline"> |
271 |
- <condition property="maven.mode.offline"> |
272 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
273 |
- </condition> |
274 |
- </target> |
275 |
- |
276 |
- <target name="get-deps" |
277 |
- depends="test-offline" |
278 |
- description="Download all dependencies" |
279 |
- unless="maven.mode.offline"> |
280 |
- <mkdir dir="${maven.repo.local}"/> |
281 |
- <mkdir dir="${maven.repo.local}/org/joda/joda-convert/1.2"/> |
282 |
- <get src="https://repo.maven.apache.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
283 |
- dest="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
284 |
- usetimestamp="false" |
285 |
- ignoreerrors="true"/> |
286 |
- <mkdir dir="${maven.repo.local}/junit/junit/3.8.2"/> |
287 |
- <get src="https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar" |
288 |
- dest="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar" |
289 |
- usetimestamp="false" |
290 |
- ignoreerrors="true"/> |
291 |
- </target> |
292 |
- |
293 |
-</project> |
294 |
|
295 |
diff --git a/dev-java/joda-time/joda-time-2.7-r1.ebuild b/dev-java/joda-time/joda-time-2.7-r1.ebuild |
296 |
deleted file mode 100644 |
297 |
index f492d319c95..00000000000 |
298 |
--- a/dev-java/joda-time/joda-time-2.7-r1.ebuild |
299 |
+++ /dev/null |
300 |
@@ -1,61 +0,0 @@ |
301 |
-# Copyright 1999-2021 Gentoo Authors |
302 |
-# Distributed under the terms of the GNU General Public License v2 |
303 |
- |
304 |
-EAPI=7 |
305 |
-JAVA_PKG_IUSE="doc examples source test" |
306 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
307 |
- |
308 |
-inherit java-pkg-2 java-ant-2 |
309 |
- |
310 |
-DESCRIPTION="A quality open-source replacement for the Java Date and Time classes" |
311 |
-HOMEPAGE="https://www.joda.org/joda-time/ https://github.com/JodaOrg/joda-time/" |
312 |
-SRC_URI="https://github.com/JodaOrg/${PN}/releases/download/v${PV}/${P}-dist.tar.gz" |
313 |
- |
314 |
-LICENSE="Apache-2.0" |
315 |
-SLOT="0" |
316 |
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
317 |
- |
318 |
-RESTRICT="test" |
319 |
- |
320 |
-DEPEND=">=virtual/jdk-1.8 |
321 |
- dev-java/joda-convert:0 |
322 |
- test? ( |
323 |
- dev-java/junit:0 |
324 |
- dev-java/ant-junit:0 |
325 |
- )" |
326 |
-RDEPEND=">=virtual/jre-1.8" |
327 |
- |
328 |
-src_prepare() { |
329 |
- default |
330 |
- |
331 |
- rm -v *.jar || die "Failed to remove bundled jars." |
332 |
- cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." |
333 |
- |
334 |
- mkdir -p "${S}"/target/classes || die "Failed to create target classes directory." |
335 |
- cp -Rv "${S}"/src/tz-data/* "${S}"/target/classes/ || die "Failed to copy timezone data." |
336 |
- |
337 |
- mkdir -p "${S}"/target/classes/org/joda/time/format || die "Failed to create target classes subdirectory." |
338 |
- cp -Rv "${S}"/src/main/java/org/joda/time/format/*properties "${S}"/target/classes/org/joda/time/format/ || die "Failed to copy message bundles." |
339 |
-} |
340 |
- |
341 |
-src_compile() { |
342 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar)" |
343 |
- |
344 |
- java-pkg-2_src_compile |
345 |
-} |
346 |
- |
347 |
-src_test() { |
348 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar):$(java-pkg_getjar --build-only junit junit.jar)" |
349 |
- |
350 |
- java-pkg-2_src_test |
351 |
-} |
352 |
- |
353 |
-src_install() { |
354 |
- java-pkg_newjar target/${P}.jar |
355 |
- |
356 |
- dodoc NOTICE.txt RELEASE-NOTES.txt |
357 |
- |
358 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
359 |
- use examples && java-pkg_doexamples src/example |
360 |
- use source && java-pkg_dosrc src/main/java/* |
361 |
-} |