1 |
commit: f5fc4bbbe17a489f4e629dc3a0cf3c4e17a67d1d |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Fri Sep 2 17:40:58 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 17:57:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fc4bbb |
7 |
|
8 |
dev-java/jnr-posix: drop 3.0.10-r1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/827224 |
11 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-java/jnr-posix/Manifest | 1 - |
15 |
dev-java/jnr-posix/files/jnr-posix_maven-build.xml | 256 --------------------- |
16 |
dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild | 54 ----- |
17 |
3 files changed, 311 deletions(-) |
18 |
|
19 |
diff --git a/dev-java/jnr-posix/Manifest b/dev-java/jnr-posix/Manifest |
20 |
index 2e180c60d0a4..99cac23713ca 100644 |
21 |
--- a/dev-java/jnr-posix/Manifest |
22 |
+++ b/dev-java/jnr-posix/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST jnr-posix-3.0.10.tar.gz 85912 BLAKE2B b87ff78ccf10718bd1faf9e308421ba3ab5e90dee5e244fb1b7f53592da8ad98973cc50e6469bcea59e1202ee82b3f77522eb95e23584ff70cc66099ef1c4266 SHA512 a282c164b0b9ace8aba508a48d08d53beb0ddcd4baf5389412941a1e1430d75df9bdd35935a6982d4bb1910c0fdad55910ba028b1b5388c55e19a6c4ed2ba6a1 |
25 |
DIST jnr-posix-3.1.15.tar.gz 120573 BLAKE2B 8035308440e444876d8d955ec3dd0b9d41f770436b53f964795a183ed7bd676dda8787c37425c488af2aa0accc948b86d1773e7e97ee5bcdaf209383dfda24a6 SHA512 6c8cd6d43c509ef7c16901d02983b823464b3437019233021398b2a9dfc85923db87c585e2f8248f080447a990e308feff25bbbf2a7261019dcae66c22e14a91 |
26 |
|
27 |
diff --git a/dev-java/jnr-posix/files/jnr-posix_maven-build.xml b/dev-java/jnr-posix/files/jnr-posix_maven-build.xml |
28 |
deleted file mode 100644 |
29 |
index 82260e156394..000000000000 |
30 |
--- a/dev-java/jnr-posix/files/jnr-posix_maven-build.xml |
31 |
+++ /dev/null |
32 |
@@ -1,256 +0,0 @@ |
33 |
-<?xml version="1.0" encoding="UTF-8"?> |
34 |
- |
35 |
-<!-- ====================================================================== --> |
36 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
37 |
-<!-- ====================================================================== --> |
38 |
- |
39 |
-<!-- ====================================================================== --> |
40 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
41 |
-<!-- ====================================================================== --> |
42 |
-<!-- --> |
43 |
-<!-- Any modifications will be overwritten. --> |
44 |
-<!-- --> |
45 |
-<!-- Generated by Maven Ant Plugin on 1/9/12 10:58 AM --> |
46 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
47 |
-<!-- --> |
48 |
-<!-- ====================================================================== --> |
49 |
- |
50 |
-<project name="jnr-posix-from-maven" default="package" basedir="."> |
51 |
- |
52 |
- <!-- ====================================================================== --> |
53 |
- <!-- Build environment properties --> |
54 |
- <!-- ====================================================================== --> |
55 |
- |
56 |
- <property file="${user.home}/.m2/maven.properties"/> |
57 |
- <property file="maven-build.properties"/> |
58 |
- |
59 |
- <property name="maven.build.finalName" value="jnr-posix-2.0"/> |
60 |
- <property name="maven.build.dir" value="target"/> |
61 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
62 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
63 |
- <property name="maven.build.resourceDir.0" value="src/main/resources"/> |
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}/com/github/jnr/jnr-ffi/0.6.0/jnr-ffi-0.6.0.jar"/> |
80 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.0.11/jffi-1.0.11.jar"/> |
81 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.0.11/jffi-1.0.11-native.jar"/> |
82 |
- <pathelement location="${maven.repo.local}/asm/asm/3.2/asm-3.2.jar"/> |
83 |
- <pathelement location="${maven.repo.local}/asm/asm-commons/3.2/asm-commons-3.2.jar"/> |
84 |
- <pathelement location="${maven.repo.local}/asm/asm-analysis/3.2/asm-analysis-3.2.jar"/> |
85 |
- <pathelement location="${maven.repo.local}/asm/asm-tree/3.2/asm-tree-3.2.jar"/> |
86 |
- <pathelement location="${maven.repo.local}/asm/asm-util/3.2/asm-util-3.2.jar"/> |
87 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.1/jnr-x86asm-1.0.1.jar"/> |
88 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.2/jnr-constants-0.8.2.jar"/> |
89 |
- </path> |
90 |
- <path id="build.test.classpath"> |
91 |
- <pathelement location="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar"/> |
92 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jnr-ffi/0.6.0/jnr-ffi-0.6.0.jar"/> |
93 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.0.11/jffi-1.0.11.jar"/> |
94 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.0.11/jffi-1.0.11-native.jar"/> |
95 |
- <pathelement location="${maven.repo.local}/asm/asm/3.2/asm-3.2.jar"/> |
96 |
- <pathelement location="${maven.repo.local}/asm/asm-commons/3.2/asm-commons-3.2.jar"/> |
97 |
- <pathelement location="${maven.repo.local}/asm/asm-analysis/3.2/asm-analysis-3.2.jar"/> |
98 |
- <pathelement location="${maven.repo.local}/asm/asm-tree/3.2/asm-tree-3.2.jar"/> |
99 |
- <pathelement location="${maven.repo.local}/asm/asm-util/3.2/asm-util-3.2.jar"/> |
100 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.1/jnr-x86asm-1.0.1.jar"/> |
101 |
- <pathelement location="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.2/jnr-constants-0.8.2.jar"/> |
102 |
- </path> |
103 |
- |
104 |
- <!-- ====================================================================== --> |
105 |
- <!-- Cleaning up target --> |
106 |
- <!-- ====================================================================== --> |
107 |
- |
108 |
- <target name="clean" description="Clean the output directory"> |
109 |
- <delete dir="${maven.build.dir}"/> |
110 |
- </target> |
111 |
- |
112 |
- <!-- ====================================================================== --> |
113 |
- <!-- Compilation target --> |
114 |
- <!-- ====================================================================== --> |
115 |
- |
116 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
117 |
- <mkdir dir="${maven.build.outputDir}"/> |
118 |
- <javac destdir="${maven.build.outputDir}" |
119 |
- nowarn="false" |
120 |
- debug="true" |
121 |
- optimize="false" |
122 |
- deprecation="true" |
123 |
- target="1.1" |
124 |
- verbose="false" |
125 |
- fork="false" |
126 |
- source="1.3"> |
127 |
- <src> |
128 |
- <pathelement location="${maven.build.srcDir.0}"/> |
129 |
- </src> |
130 |
- <classpath refid="build.classpath"/> |
131 |
- </javac> |
132 |
- </target> |
133 |
- |
134 |
- <!-- ====================================================================== --> |
135 |
- <!-- Test-compilation target --> |
136 |
- <!-- ====================================================================== --> |
137 |
- |
138 |
- <target name="compile-tests" |
139 |
- depends="compile" |
140 |
- description="Compile the test code" |
141 |
- unless="maven.test.skip"> |
142 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
143 |
- <javac destdir="${maven.build.testOutputDir}" |
144 |
- nowarn="false" |
145 |
- debug="true" |
146 |
- optimize="false" |
147 |
- deprecation="true" |
148 |
- target="1.1" |
149 |
- verbose="false" |
150 |
- fork="false" |
151 |
- source="1.3"> |
152 |
- <src> |
153 |
- <pathelement location="${maven.build.testDir.0}"/> |
154 |
- </src> |
155 |
- <classpath> |
156 |
- <path refid="build.test.classpath"/> |
157 |
- <pathelement location="${maven.build.outputDir}"/> |
158 |
- </classpath> |
159 |
- </javac> |
160 |
- </target> |
161 |
- |
162 |
- <!-- ====================================================================== --> |
163 |
- <!-- Run all tests --> |
164 |
- <!-- ====================================================================== --> |
165 |
- |
166 |
- <target name="test" |
167 |
- depends="compile-tests, junit-missing" |
168 |
- unless="junit.skipped" |
169 |
- description="Run the test cases"> |
170 |
- <mkdir dir="${maven.test.reports}"/> |
171 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
172 |
- <sysproperty key="basedir" value="."/> |
173 |
- <formatter type="xml"/> |
174 |
- <formatter type="plain" usefile="false"/> |
175 |
- <classpath> |
176 |
- <path refid="build.test.classpath"/> |
177 |
- <pathelement location="${maven.build.outputDir}"/> |
178 |
- <pathelement location="${maven.build.testOutputDir}"/> |
179 |
- </classpath> |
180 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
181 |
- <fileset dir="${maven.build.testDir.0}"> |
182 |
- <include name="**/Test*.java"/> |
183 |
- <include name="**/*Test.java"/> |
184 |
- <include name="**/*TestCase.java"/> |
185 |
- <exclude name="**/*Abstract*Test.java"/> |
186 |
- </fileset> |
187 |
- </batchtest> |
188 |
- <batchtest todir="${maven.test.reports}" if="test"> |
189 |
- <fileset dir="${maven.build.testDir.0}"> |
190 |
- <include name="**/${test}.java"/> |
191 |
- <exclude name="**/*Abstract*Test.java"/> |
192 |
- </fileset> |
193 |
- </batchtest> |
194 |
- </junit> |
195 |
- </target> |
196 |
- |
197 |
- <target name="test-junit-present"> |
198 |
- <available classname="junit.framework.Test" property="junit.present"/> |
199 |
- </target> |
200 |
- |
201 |
- <target name="test-junit-status" |
202 |
- depends="test-junit-present"> |
203 |
- <condition property="junit.missing"> |
204 |
- <and> |
205 |
- <isfalse value="${junit.present}"/> |
206 |
- <isfalse value="${maven.test.skip}"/> |
207 |
- </and> |
208 |
- </condition> |
209 |
- <condition property="junit.skipped"> |
210 |
- <or> |
211 |
- <isfalse value="${junit.present}"/> |
212 |
- <istrue value="${maven.test.skip}"/> |
213 |
- </or> |
214 |
- </condition> |
215 |
- </target> |
216 |
- |
217 |
- <target name="junit-missing" |
218 |
- depends="test-junit-status" |
219 |
- if="junit.missing"> |
220 |
- <echo>=================================== WARNING ===================================</echo> |
221 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
222 |
- <echo>===============================================================================</echo> |
223 |
- </target> |
224 |
- |
225 |
- <!-- ====================================================================== --> |
226 |
- <!-- Javadoc target --> |
227 |
- <!-- ====================================================================== --> |
228 |
- |
229 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
230 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
231 |
- packagenames="*" |
232 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
233 |
- access="protected" |
234 |
- old="false" |
235 |
- verbose="false" |
236 |
- version="true" |
237 |
- use="true" |
238 |
- author="true" |
239 |
- splitindex="false" |
240 |
- nodeprecated="false" |
241 |
- nodeprecatedlist="false" |
242 |
- notree="false" |
243 |
- noindex="false" |
244 |
- nohelp="false" |
245 |
- nonavbar="false" |
246 |
- serialwarn="false" |
247 |
- charset="ISO-8859-1" |
248 |
- linksource="false" |
249 |
- breakiterator="false"/> |
250 |
- </target> |
251 |
- |
252 |
- <!-- ====================================================================== --> |
253 |
- <!-- Package target --> |
254 |
- <!-- ====================================================================== --> |
255 |
- |
256 |
- <target name="package" depends="compile,test" description="Package the application"> |
257 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
258 |
- compress="true" |
259 |
- index="false" |
260 |
- manifest="MANIFEST.MF" |
261 |
- basedir="${maven.build.outputDir}" |
262 |
- excludes="**/package.html"/> |
263 |
- </target> |
264 |
- |
265 |
- <!-- ====================================================================== --> |
266 |
- <!-- A dummy target for the package named after the type it creates --> |
267 |
- <!-- ====================================================================== --> |
268 |
- |
269 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
270 |
- |
271 |
- <!-- ====================================================================== --> |
272 |
- <!-- Download dependencies target --> |
273 |
- <!-- ====================================================================== --> |
274 |
- |
275 |
- <target name="test-offline"> |
276 |
- <condition property="maven.mode.offline"> |
277 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
278 |
- </condition> |
279 |
- </target> |
280 |
- |
281 |
- <target name="get-deps" |
282 |
- depends="test-offline" |
283 |
- description="Download all dependencies" |
284 |
- unless="maven.mode.offline"> |
285 |
- <!-- removed --> |
286 |
- </target> |
287 |
- |
288 |
-</project> |
289 |
|
290 |
diff --git a/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild b/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild |
291 |
deleted file mode 100644 |
292 |
index 8e1f57eabfc9..000000000000 |
293 |
--- a/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild |
294 |
+++ /dev/null |
295 |
@@ -1,54 +0,0 @@ |
296 |
-# Copyright 1999-2022 Gentoo Authors |
297 |
-# Distributed under the terms of the GNU General Public License v2 |
298 |
- |
299 |
-EAPI=7 |
300 |
- |
301 |
-JAVA_PKG_IUSE="doc source test" |
302 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
303 |
-JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc" |
304 |
-JAVA_ANT_ENCODING="UTF-8" |
305 |
- |
306 |
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" |
307 |
-EANT_GENTOO_CLASSPATH="jnr-constants,jnr-ffi-2" |
308 |
-EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" |
309 |
- |
310 |
-inherit java-pkg-2 java-ant-2 |
311 |
- |
312 |
-DESCRIPTION="Lightweight cross-platform POSIX emulation layer for Java" |
313 |
-HOMEPAGE="https://github.com/jnr/jnr-posix" |
314 |
-SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
315 |
- |
316 |
-LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )" |
317 |
-SLOT="3.0" |
318 |
-KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris" |
319 |
- |
320 |
-CDEPEND="dev-java/jnr-constants:0 |
321 |
- dev-java/jnr-ffi:2" |
322 |
- |
323 |
-RDEPEND="${CDEPEND} |
324 |
- >=virtual/jre-1.8:*" |
325 |
- |
326 |
-DEPEND="${CDEPEND} |
327 |
- >=virtual/jdk-1.8:* |
328 |
- test? ( |
329 |
- dev-java/ant-junit4:0 |
330 |
- dev-java/junit:4 |
331 |
- )" |
332 |
- |
333 |
-src_prepare() { |
334 |
- default |
335 |
- |
336 |
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die |
337 |
-} |
338 |
- |
339 |
-src_test() { |
340 |
- ANT_TASKS="ant-junit4" eant test -DJunit.present=true |
341 |
-} |
342 |
- |
343 |
-src_install() { |
344 |
- java-pkg_dojar target/${PN}.jar |
345 |
- dodoc README.txt |
346 |
- |
347 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
348 |
- use source && java-pkg_dosrc src/main/java/* |
349 |
-} |