Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jansi/, dev-java/jansi/files/
Date: Sun, 29 Aug 2021 18:56:57
Message-Id: 1630263404.5772da0c8f3d52f69f140c66803221bff4940257.fordfrog@gentoo
1 commit: 5772da0c8f3d52f69f140c66803221bff4940257
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 29 18:56:44 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 29 18:56:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5772da0c
7
8 dev-java/jansi: removed obsolete 1.11-r2
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 dev-java/jansi/Manifest | 1 -
14 dev-java/jansi/files/jansi-1.11-build.xml | 298 ------------------------------
15 dev-java/jansi/jansi-1.11-r2.ebuild | 54 ------
16 3 files changed, 353 deletions(-)
17
18 diff --git a/dev-java/jansi/Manifest b/dev-java/jansi/Manifest
19 index dce004d82a1..31fabc8cd4c 100644
20 --- a/dev-java/jansi/Manifest
21 +++ b/dev-java/jansi/Manifest
22 @@ -1,2 +1 @@
23 -DIST jansi-1.11.tar.gz 252095 BLAKE2B 72b22392fa6731f49ebb5c2e94cdf7918ca37d5c73ccb14d8810402c9ec120b1220a739e54516eeb5355ad4dd74d01ae398a6003679c60b1dd6f1648691b2efa SHA512 4a19d52055da3ce08b6d797fb8e8241af86f1b9b30e12f4de24655edbd72d256b310d58fc6e106cae1384f9b0ab99cd7f2128d53296875fba5422bfc0e8410f1
24 DIST jansi-1.13.tar.gz 253219 BLAKE2B 89fc81710bc0860c717241c97fe2e7a148ccbaa5fb1e7db30b978aa69cddccbc9ea45a0e30ef384c42a741d707f5eab73ce8b2a76e1095c66a2c95f9088f28f0 SHA512 9c4bb0b7435c102068718e039900828994f1ba60ed44307eb726eb91a2884bc406688c2747635b9353f3bd68a6bf0e7c082a4069343b59efffc900f59c563fde
25
26 diff --git a/dev-java/jansi/files/jansi-1.11-build.xml b/dev-java/jansi/files/jansi-1.11-build.xml
27 deleted file mode 100644
28 index 058559ce084..00000000000
29 --- a/dev-java/jansi/files/jansi-1.11-build.xml
30 +++ /dev/null
31 @@ -1,298 +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 6/4/13 7:11 PM -->
45 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
46 -<!-- -->
47 -<!-- ====================================================================== -->
48 -
49 -<project name="jansi-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="jansi-1.11"/>
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 - <pathelement location="${maven.repo.local}/org/fusesource/hawtjni/hawtjni-runtime/1.8/hawtjni-runtime-1.8.jar"/>
79 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5.jar"/>
80 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows32.jar"/>
81 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows64.jar"/>
82 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-osx.jar"/>
83 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux32.jar"/>
84 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux64.jar"/>
85 - </path>
86 - <path id="build.test.classpath">
87 - <pathelement location="${maven.repo.local}/org/fusesource/hawtjni/hawtjni-runtime/1.8/hawtjni-runtime-1.8.jar"/>
88 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5.jar"/>
89 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows32.jar"/>
90 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows64.jar"/>
91 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-osx.jar"/>
92 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux32.jar"/>
93 - <pathelement location="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux64.jar"/>
94 - <pathelement location="${maven.repo.local}/junit/junit/4.7/junit-4.7.jar"/>
95 - </path>
96 -
97 - <!-- ====================================================================== -->
98 - <!-- Cleaning up target -->
99 - <!-- ====================================================================== -->
100 -
101 - <target name="clean" description="Clean the output directory">
102 - <delete dir="${maven.build.dir}"/>
103 - </target>
104 -
105 - <!-- ====================================================================== -->
106 - <!-- Compilation target -->
107 - <!-- ====================================================================== -->
108 -
109 - <target name="compile" depends="get-deps" description="Compile the code">
110 - <mkdir dir="${maven.build.outputDir}"/>
111 - <javac destdir="${maven.build.outputDir}"
112 - encoding="UTF-8"
113 - nowarn="false"
114 - debug="true"
115 - optimize="false"
116 - deprecation="true"
117 - target="1.5"
118 - verbose="false"
119 - fork="false"
120 - source="1.5">
121 - <src>
122 - <pathelement location="${maven.build.srcDir.0}"/>
123 - </src>
124 - <classpath refid="build.classpath"/>
125 - </javac>
126 - </target>
127 -
128 - <!-- ====================================================================== -->
129 - <!-- Test-compilation target -->
130 - <!-- ====================================================================== -->
131 -
132 - <target name="compile-tests"
133 - depends="compile"
134 - description="Compile the test code"
135 - unless="maven.test.skip">
136 - <mkdir dir="${maven.build.testOutputDir}"/>
137 - <javac destdir="${maven.build.testOutputDir}"
138 - encoding="UTF-8"
139 - nowarn="false"
140 - debug="true"
141 - optimize="false"
142 - deprecation="true"
143 - target="1.5"
144 - verbose="false"
145 - fork="false"
146 - source="1.5">
147 - <src>
148 - <pathelement location="${maven.build.testDir.0}"/>
149 - </src>
150 - <classpath>
151 - <path refid="build.test.classpath"/>
152 - <pathelement location="${maven.build.outputDir}"/>
153 - </classpath>
154 - </javac>
155 - <copy todir="${maven.build.testOutputDir}">
156 - <fileset dir="${maven.build.testResourceDir.0}"/>
157 - </copy>
158 - </target>
159 -
160 - <!-- ====================================================================== -->
161 - <!-- Run all tests -->
162 - <!-- ====================================================================== -->
163 -
164 - <target name="test"
165 - depends="compile-tests, junit-missing"
166 - unless="junit.skipped"
167 - description="Run the test cases">
168 - <mkdir dir="${maven.test.reports}"/>
169 - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
170 - <sysproperty key="basedir" value="."/>
171 - <formatter type="xml"/>
172 - <formatter type="plain" usefile="false"/>
173 - <classpath>
174 - <path refid="build.test.classpath"/>
175 - <pathelement location="${maven.build.outputDir}"/>
176 - <pathelement location="${maven.build.testOutputDir}"/>
177 - </classpath>
178 - <batchtest todir="${maven.test.reports}" unless="test">
179 - <fileset dir="${maven.build.testDir.0}">
180 - <include name="**/*Test.java"/>
181 - <exclude name="**/Abstract*.java"/>
182 - <exclude name="**/Test*.java"/>
183 - </fileset>
184 - </batchtest>
185 - <batchtest todir="${maven.test.reports}" if="test">
186 - <fileset dir="${maven.build.testDir.0}">
187 - <include name="**/${test}.java"/>
188 - <exclude name="**/Abstract*.java"/>
189 - <exclude name="**/Test*.java"/>
190 - </fileset>
191 - </batchtest>
192 - </junit>
193 - </target>
194 -
195 - <target name="test-junit-present">
196 - <available classname="junit.framework.Test" property="junit.present"/>
197 - </target>
198 -
199 - <target name="test-junit-status"
200 - depends="test-junit-present">
201 - <condition property="junit.missing">
202 - <and>
203 - <isfalse value="${junit.present}"/>
204 - <isfalse value="${maven.test.skip}"/>
205 - </and>
206 - </condition>
207 - <condition property="junit.skipped">
208 - <or>
209 - <isfalse value="${junit.present}"/>
210 - <istrue value="${maven.test.skip}"/>
211 - </or>
212 - </condition>
213 - </target>
214 -
215 - <target name="junit-missing"
216 - depends="test-junit-status"
217 - if="junit.missing">
218 - <echo>=================================== WARNING ===================================</echo>
219 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
220 - <echo>===============================================================================</echo>
221 - </target>
222 -
223 - <!-- ====================================================================== -->
224 - <!-- Javadoc target -->
225 - <!-- ====================================================================== -->
226 -
227 - <target name="javadoc" description="Generates the Javadoc of the application">
228 - <javadoc sourcepath="${maven.build.srcDir.0}"
229 - packagenames="*"
230 - destdir="${maven.reporting.outputDirectory}/apidocs"
231 - access="protected"
232 - old="false"
233 - verbose="false"
234 - encoding="UTF-8"
235 - version="true"
236 - use="true"
237 - author="true"
238 - splitindex="false"
239 - nodeprecated="false"
240 - nodeprecatedlist="false"
241 - notree="false"
242 - noindex="false"
243 - nohelp="false"
244 - nonavbar="false"
245 - serialwarn="false"
246 - charset="ISO-8859-1"
247 - linksource="false"
248 - breakiterator="false"/>
249 - </target>
250 -
251 - <!-- ====================================================================== -->
252 - <!-- Package target -->
253 - <!-- ====================================================================== -->
254 -
255 - <target name="package" depends="compile,test" description="Package the application">
256 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
257 - compress="true"
258 - index="false"
259 - basedir="${maven.build.outputDir}"
260 - excludes="**/package.html">
261 - <manifest>
262 - </manifest>
263 - </jar>
264 - </target>
265 -
266 - <!-- ====================================================================== -->
267 - <!-- A dummy target for the package named after the type it creates -->
268 - <!-- ====================================================================== -->
269 -
270 - <target name="jar" depends="package" description="Builds the jar for the application"/>
271 -
272 - <!-- ====================================================================== -->
273 - <!-- Download dependencies target -->
274 - <!-- ====================================================================== -->
275 -
276 - <target name="test-offline">
277 - <condition property="maven.mode.offline">
278 - <equals arg1="${maven.settings.offline}" arg2="true"/>
279 - </condition>
280 - </target>
281 -
282 - <target name="get-deps"
283 - depends="test-offline"
284 - description="Download all dependencies"
285 - unless="maven.mode.offline">
286 - <mkdir dir="${maven.repo.local}"/>
287 - <mkdir dir="${maven.repo.local}/org/fusesource/hawtjni/hawtjni-runtime/1.8"/>
288 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/hawtjni/hawtjni-runtime/1.8/hawtjni-runtime-1.8.jar"
289 - dest="${maven.repo.local}/org/fusesource/hawtjni/hawtjni-runtime/1.8/hawtjni-runtime-1.8.jar"
290 - usetimestamp="false"
291 - ignoreerrors="true"/>
292 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
293 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5.jar"
294 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5.jar"
295 - usetimestamp="false"
296 - ignoreerrors="true"/>
297 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
298 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows32.jar"
299 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows32.jar"
300 - usetimestamp="false"
301 - ignoreerrors="true"/>
302 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
303 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows64.jar"
304 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-windows64.jar"
305 - usetimestamp="false"
306 - ignoreerrors="true"/>
307 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
308 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-osx.jar"
309 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-osx.jar"
310 - usetimestamp="false"
311 - ignoreerrors="true"/>
312 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
313 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux32.jar"
314 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux32.jar"
315 - usetimestamp="false"
316 - ignoreerrors="true"/>
317 - <mkdir dir="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5"/>
318 - <get src="http://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux64.jar"
319 - dest="${maven.repo.local}/org/fusesource/jansi/jansi-native/1.5/jansi-native-1.5-linux64.jar"
320 - usetimestamp="false"
321 - ignoreerrors="true"/>
322 - <mkdir dir="${maven.repo.local}/junit/junit/4.7"/>
323 - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.7/junit-4.7.jar"
324 - dest="${maven.repo.local}/junit/junit/4.7/junit-4.7.jar"
325 - usetimestamp="false"
326 - ignoreerrors="true"/>
327 - </target>
328 -
329 -</project>
330
331 diff --git a/dev-java/jansi/jansi-1.11-r2.ebuild b/dev-java/jansi/jansi-1.11-r2.ebuild
332 deleted file mode 100644
333 index 8006241e27d..00000000000
334 --- a/dev-java/jansi/jansi-1.11-r2.ebuild
335 +++ /dev/null
336 @@ -1,54 +0,0 @@
337 -# Copyright 1999-2021 Gentoo Authors
338 -# Distributed under the terms of the GNU General Public License v2
339 -
340 -EAPI=7
341 -
342 -# TODO: Get doc (missing classpath entries) working.
343 -JAVA_PKG_IUSE="source test"
344 -
345 -inherit vcs-snapshot java-pkg-2 java-ant-2
346 -
347 -DESCRIPTION="A library that allows you to use ANSI escape sequences in your console output"
348 -HOMEPAGE="http://jansi.fusesource.org/"
349 -SRC_URI="https://github.com/fusesource/${PN}/archive/${PN}-project-${PV}.tar.gz -> ${P}.tar.gz"
350 -
351 -LICENSE="Apache-2.0"
352 -SLOT="0"
353 -KEYWORDS="amd64 ~arm64 ppc64 x86"
354 -
355 -CDEPEND="dev-java/jansi-native:0"
356 -
357 -DEPEND="${CDEPEND}
358 - test? (
359 - dev-java/ant-junit4:0
360 - dev-java/junit:4
361 - )
362 - >=virtual/jdk-1.8:*"
363 -
364 -RDEPEND="${CDEPEND}
365 - >=virtual/jre-1.8:*"
366 -
367 -S="${WORKDIR}/${P}/jansi"
368 -
369 -EANT_GENTOO_CLASSPATH="jansi-native"
370 -JAVA_ANT_REWRITE_CLASSPATH="true"
371 -JAVA_SRC_DIR="src/main/java"
372 -
373 -src_prepare() {
374 - default
375 - cp "${FILESDIR}"/${P}-build.xml build.xml || die
376 -}
377 -
378 -EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
379 -
380 -src_test() {
381 - EANT_EXTRA_ARGS="-Djunit.present=true"
382 -
383 - java-pkg-2_src_test
384 -}
385 -
386 -src_install() {
387 - java-pkg_newjar target/${P}.jar ${PN}.jar
388 -
389 - use source && java-pkg_dosrc src/main/java/org
390 -}