1 |
commit: ea92d18d2efe90d2143d4c8a6fa99c791c6fe628 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 2 08:05:26 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 2 08:05:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea92d18d |
7 |
|
8 |
dev-java/jnr-constants: removed obsolete 0.8.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
dev-java/jnr-constants/Manifest | 1 - |
14 |
.../files/jnr-constants_maven-build.xml | 259 --------------------- |
15 |
dev-java/jnr-constants/jnr-constants-0.8.6.ebuild | 49 ---- |
16 |
3 files changed, 309 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/jnr-constants/Manifest b/dev-java/jnr-constants/Manifest |
19 |
index b94cc78461b3..f9acdf1a6917 100644 |
20 |
--- a/dev-java/jnr-constants/Manifest |
21 |
+++ b/dev-java/jnr-constants/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST jnr-constants-0.10.3-sources.tar.gz 261921 BLAKE2B f8137455c067e774dd30d64fe457dd859692315f43415bdfbffa4870b981db26de23d73fa7682bbd924523ac17dec56caa7078580cf817d8df3eae4d87c61343 SHA512 f7cd6a3778670c9835f8dce87c8470c8b8cfeda6f30d68051c09dae40c4f7dd7db88bed016450c33ab5c8da9a802b4bd050adf358680d5ec6735467e398404dc |
24 |
-DIST jnr-constants-0.8.6.tar.gz 71080 BLAKE2B db86f3c0347b85dd56de72465c4198e74faa877b8a1373ab378728945edaf0c45748ed707e6b591224858f498ae7d43269d8127cb61b7ac2893ef9817e36ca1c SHA512 2098f8e1869b9c018ba3afa70ef386fce2609d9c650ee851dcd7cf7dc9d4d87dbe26886eb2e744d96cc11425f6b66144a018826360b7bab48a4b99e323f3717a |
25 |
|
26 |
diff --git a/dev-java/jnr-constants/files/jnr-constants_maven-build.xml b/dev-java/jnr-constants/files/jnr-constants_maven-build.xml |
27 |
deleted file mode 100644 |
28 |
index 75f8458ee2c2..000000000000 |
29 |
--- a/dev-java/jnr-constants/files/jnr-constants_maven-build.xml |
30 |
+++ /dev/null |
31 |
@@ -1,259 +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 1/11/12 12:52 PM --> |
45 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
46 |
-<!-- --> |
47 |
-<!-- ====================================================================== --> |
48 |
- |
49 |
-<project name="jnr-constants-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="jnr-constants-0.8.2"/> |
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="src/main/resources"/> |
63 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
64 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
65 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
66 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
67 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
68 |
- |
69 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
70 |
- <property name="maven.settings.offline" value="false"/> |
71 |
- <property name="maven.settings.interactiveMode" value="true"/> |
72 |
- |
73 |
- <!-- ====================================================================== --> |
74 |
- <!-- Defining classpaths --> |
75 |
- <!-- ====================================================================== --> |
76 |
- |
77 |
- <path id="build.classpath"/> |
78 |
- <path id="build.test.classpath"> |
79 |
- <pathelement location="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar"/> |
80 |
- </path> |
81 |
- |
82 |
- <!-- ====================================================================== --> |
83 |
- <!-- Cleaning up target --> |
84 |
- <!-- ====================================================================== --> |
85 |
- |
86 |
- <target name="clean" description="Clean the output directory"> |
87 |
- <delete dir="${maven.build.dir}"/> |
88 |
- </target> |
89 |
- |
90 |
- <!-- ====================================================================== --> |
91 |
- <!-- Compilation target --> |
92 |
- <!-- ====================================================================== --> |
93 |
- |
94 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
95 |
- <mkdir dir="${maven.build.outputDir}"/> |
96 |
- <javac destdir="${maven.build.outputDir}" |
97 |
- nowarn="false" |
98 |
- debug="true" |
99 |
- optimize="false" |
100 |
- deprecation="true" |
101 |
- target="1.1" |
102 |
- verbose="false" |
103 |
- fork="false" |
104 |
- source="1.3"> |
105 |
- <src> |
106 |
- <pathelement location="${maven.build.srcDir.0}"/> |
107 |
- </src> |
108 |
- <classpath refid="build.classpath"/> |
109 |
- </javac> |
110 |
- </target> |
111 |
- |
112 |
- <!-- ====================================================================== --> |
113 |
- <!-- Test-compilation target --> |
114 |
- <!-- ====================================================================== --> |
115 |
- |
116 |
- <target name="compile-tests" |
117 |
- depends="compile" |
118 |
- description="Compile the test code" |
119 |
- unless="maven.test.skip"> |
120 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
121 |
- <javac destdir="${maven.build.testOutputDir}" |
122 |
- nowarn="false" |
123 |
- debug="true" |
124 |
- optimize="false" |
125 |
- deprecation="true" |
126 |
- target="1.1" |
127 |
- verbose="false" |
128 |
- fork="false" |
129 |
- source="1.3"> |
130 |
- <src> |
131 |
- <pathelement location="${maven.build.testDir.0}"/> |
132 |
- </src> |
133 |
- <classpath> |
134 |
- <path refid="build.test.classpath"/> |
135 |
- <pathelement location="${maven.build.outputDir}"/> |
136 |
- </classpath> |
137 |
- </javac> |
138 |
- </target> |
139 |
- |
140 |
- <!-- ====================================================================== --> |
141 |
- <!-- Run all tests --> |
142 |
- <!-- ====================================================================== --> |
143 |
- |
144 |
- <target name="test" |
145 |
- depends="compile-tests, junit-missing" |
146 |
- unless="junit.skipped" |
147 |
- description="Run the test cases"> |
148 |
- <mkdir dir="${maven.test.reports}"/> |
149 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
150 |
- <sysproperty key="basedir" value="."/> |
151 |
- <formatter type="xml"/> |
152 |
- <formatter type="plain" usefile="false"/> |
153 |
- <classpath> |
154 |
- <path refid="build.test.classpath"/> |
155 |
- <pathelement location="${maven.build.outputDir}"/> |
156 |
- <pathelement location="${maven.build.testOutputDir}"/> |
157 |
- </classpath> |
158 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
159 |
- <fileset dir="${maven.build.testDir.0}"> |
160 |
- <include name="**/Test*.java"/> |
161 |
- <include name="**/*Test.java"/> |
162 |
- <include name="**/*TestCase.java"/> |
163 |
- <exclude name="**/*Abstract*Test.java"/> |
164 |
- </fileset> |
165 |
- </batchtest> |
166 |
- <batchtest todir="${maven.test.reports}" if="test"> |
167 |
- <fileset dir="${maven.build.testDir.0}"> |
168 |
- <include name="**/${test}.java"/> |
169 |
- <exclude name="**/*Abstract*Test.java"/> |
170 |
- </fileset> |
171 |
- </batchtest> |
172 |
- </junit> |
173 |
- </target> |
174 |
- |
175 |
- <target name="test-junit-present"> |
176 |
- <available classname="junit.framework.Test" property="junit.present"/> |
177 |
- </target> |
178 |
- |
179 |
- <target name="test-junit-status" |
180 |
- depends="test-junit-present"> |
181 |
- <condition property="junit.missing"> |
182 |
- <and> |
183 |
- <isfalse value="${junit.present}"/> |
184 |
- <isfalse value="${maven.test.skip}"/> |
185 |
- </and> |
186 |
- </condition> |
187 |
- <condition property="junit.skipped"> |
188 |
- <or> |
189 |
- <isfalse value="${junit.present}"/> |
190 |
- <istrue value="${maven.test.skip}"/> |
191 |
- </or> |
192 |
- </condition> |
193 |
- </target> |
194 |
- |
195 |
- <target name="junit-missing" |
196 |
- depends="test-junit-status" |
197 |
- if="junit.missing"> |
198 |
- <echo>=================================== WARNING ===================================</echo> |
199 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
200 |
- <echo>===============================================================================</echo> |
201 |
- </target> |
202 |
- |
203 |
- <!-- ====================================================================== --> |
204 |
- <!-- Javadoc target --> |
205 |
- <!-- ====================================================================== --> |
206 |
- |
207 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
208 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
209 |
- packagenames="*" |
210 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
211 |
- access="protected" |
212 |
- old="false" |
213 |
- verbose="false" |
214 |
- version="true" |
215 |
- use="true" |
216 |
- author="true" |
217 |
- splitindex="false" |
218 |
- nodeprecated="false" |
219 |
- nodeprecatedlist="false" |
220 |
- notree="false" |
221 |
- noindex="false" |
222 |
- nohelp="false" |
223 |
- nonavbar="false" |
224 |
- serialwarn="false" |
225 |
- charset="ISO-8859-1" |
226 |
- linksource="false" |
227 |
- breakiterator="false"/> |
228 |
- </target> |
229 |
- |
230 |
- <!-- ====================================================================== --> |
231 |
- <!-- Package target --> |
232 |
- <!-- ====================================================================== --> |
233 |
- |
234 |
- <target name="package" depends="compile,test" description="Package the application"> |
235 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
236 |
- compress="true" |
237 |
- index="false" |
238 |
- basedir="${maven.build.outputDir}" |
239 |
- excludes="**/package.html"/> |
240 |
- </target> |
241 |
- |
242 |
- <!-- ====================================================================== --> |
243 |
- <!-- A dummy target for the package named after the type it creates --> |
244 |
- <!-- ====================================================================== --> |
245 |
- |
246 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
247 |
- |
248 |
- <!-- ====================================================================== --> |
249 |
- <!-- Download dependencies target --> |
250 |
- <!-- ====================================================================== --> |
251 |
- |
252 |
- <target name="test-offline"> |
253 |
- <condition property="maven.mode.offline"> |
254 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
255 |
- </condition> |
256 |
- </target> |
257 |
- |
258 |
- <target name="get-deps" |
259 |
- depends="test-offline" |
260 |
- description="Download all dependencies" |
261 |
- unless="maven.mode.offline"> |
262 |
- <mkdir dir="${maven.repo.local}"/> |
263 |
- <mkdir dir="${maven.repo.local}/junit/junit/4.8.2"/> |
264 |
- <get src="http://repository.jboss.com/maven2/junit/junit/4.8.2/junit-4.8.2.jar" |
265 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
266 |
- usetimestamp="false" |
267 |
- ignoreerrors="true"/> |
268 |
- <get src="http://snapshots.jboss.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar" |
269 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
270 |
- usetimestamp="false" |
271 |
- ignoreerrors="true"/> |
272 |
- <get src="http://repository.jboss.org/maven2//junit/junit/4.8.2/junit-4.8.2.jar" |
273 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
274 |
- usetimestamp="false" |
275 |
- ignoreerrors="true"/> |
276 |
- <get src="https://repository.jboss.org/nexus/content/groups/public-jboss//junit/junit/4.8.2/junit-4.8.2.jar" |
277 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
278 |
- usetimestamp="false" |
279 |
- ignoreerrors="true"/> |
280 |
- <get src="https://oss.sonatype.org/content/repositories/snapshots/junit/junit/4.8.2/junit-4.8.2.jar" |
281 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
282 |
- usetimestamp="false" |
283 |
- ignoreerrors="true"/> |
284 |
- <get src="http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar" |
285 |
- dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar" |
286 |
- usetimestamp="false" |
287 |
- ignoreerrors="true"/> |
288 |
- </target> |
289 |
- |
290 |
-</project> |
291 |
|
292 |
diff --git a/dev-java/jnr-constants/jnr-constants-0.8.6.ebuild b/dev-java/jnr-constants/jnr-constants-0.8.6.ebuild |
293 |
deleted file mode 100644 |
294 |
index 3f8c33be960e..000000000000 |
295 |
--- a/dev-java/jnr-constants/jnr-constants-0.8.6.ebuild |
296 |
+++ /dev/null |
297 |
@@ -1,49 +0,0 @@ |
298 |
-# Copyright 1999-2017 Gentoo Foundation |
299 |
-# Distributed under the terms of the GNU General Public License v2 |
300 |
- |
301 |
-EAPI="5" |
302 |
- |
303 |
-JAVA_PKG_IUSE="doc source test" |
304 |
- |
305 |
-inherit java-pkg-2 java-ant-2 |
306 |
- |
307 |
-DESCRIPTION="A set of platform constants (e.g. errno values)" |
308 |
-HOMEPAGE="https://github.com/jnr/jnr-constants" |
309 |
-# SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
310 |
-SRC_URI="https://github.com/jnr/${PN}/archive/${P}.tar.gz" |
311 |
- |
312 |
-LICENSE="|| ( Apache-2.0 LGPL-3 )" |
313 |
-SLOT="0" |
314 |
-KEYWORDS="amd64 ~arm64 x86" |
315 |
- |
316 |
-RDEPEND=" |
317 |
- >=virtual/jre-1.6" |
318 |
- |
319 |
-DEPEND=" |
320 |
- >=virtual/jdk-1.6 |
321 |
- test? ( |
322 |
- dev-java/ant-junit:0 |
323 |
- >=dev-java/junit-4.8:4 |
324 |
- )" |
325 |
- |
326 |
-S="${WORKDIR}/${PN}-${P}" |
327 |
- |
328 |
-java_prepare() { |
329 |
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die |
330 |
-} |
331 |
- |
332 |
-JAVA_ANT_ENCODING="UTF-8" |
333 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
334 |
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" |
335 |
-EANT_TEST_GENTOO_CLASSPATH="junit-4" |
336 |
- |
337 |
-src_test() { |
338 |
- java-pkg-2_src_test |
339 |
-} |
340 |
- |
341 |
-src_install() { |
342 |
- java-pkg_dojar target/${PN}.jar |
343 |
- |
344 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
345 |
- use source && java-pkg_dosrc src/main/java/* |
346 |
-} |