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/bytelist/files/, dev-java/bytelist/
Date: Wed, 28 Apr 2021 17:09:15
Message-Id: 1619629740.9e5cb2febf34c7b26d0b38397fefc98bd6bb613c.fordfrog@gentoo
1 commit: 9e5cb2febf34c7b26d0b38397fefc98bd6bb613c
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 17:09:00 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 17:09:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e5cb2fe
7
8 dev-java/bytelist: removed obsolete 1.0.10
9
10 Bug: https://bugs.gentoo.org/785298
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 dev-java/bytelist/Manifest | 1 -
15 dev-java/bytelist/bytelist-1.0.10.ebuild | 49 -------
16 dev-java/bytelist/files/maven-build.xml | 219 -------------------------------
17 3 files changed, 269 deletions(-)
18
19 diff --git a/dev-java/bytelist/Manifest b/dev-java/bytelist/Manifest
20 index 23649777ad6..a7640c92392 100644
21 --- a/dev-java/bytelist/Manifest
22 +++ b/dev-java/bytelist/Manifest
23 @@ -1,2 +1 @@
24 -DIST bytelist-1.0.10.tar.gz 15619 BLAKE2B d715949e9d78201c2fbc97a6c055630b83db4989108f7fb5f68d09cc461b4bf8f30f7ffb0ad66166aa13f23a50a832e12d721ffa2a72206348db0f4070fad941 SHA512 fb522a43d5cac8a4804f64caa38fb9ab793a0f0688a69987f3be6f2245a4a2c9739a0d807f88be947c0bd7f908c069a2f8092cc4d5314c3fddb6541d9db70f7c
25 DIST bytelist-1.0.15-sources.tar.gz 50512 BLAKE2B f17094ac4ef8ea68d48b05589b9fe3b8a90033dbc33992d0ebbcf70851c6877e20dcbe68f2e505e62301346653519833318d2c671bea9d6914d9f017610204f7 SHA512 1575a97229db7a7b99abd4fc74e713f79cd9bca4b7ffa13ba52607d84d5f7af8863c45dfd65dd32e12b03feb659808cf2f07ea494c87ca496061ab00280a40f4
26
27 diff --git a/dev-java/bytelist/bytelist-1.0.10.ebuild b/dev-java/bytelist/bytelist-1.0.10.ebuild
28 deleted file mode 100644
29 index eb1aa2d3d03..00000000000
30 --- a/dev-java/bytelist/bytelist-1.0.10.ebuild
31 +++ /dev/null
32 @@ -1,49 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="5"
37 -
38 -JAVA_PKG_IUSE="doc source test"
39 -
40 -inherit java-pkg-2 java-ant-2
41 -
42 -DESCRIPTION="JRuby support library"
43 -HOMEPAGE="https://github.com/codehaus"
44 -SRC_URI="https://github.com/jruby/${PN}/tarball/${PV} -> ${P}.tar.gz"
45 -
46 -LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )"
47 -SLOT="0"
48 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
49 -
50 -COMMON_DEP="dev-java/jcodings:0"
51 -
52 -RDEPEND="${COMMON_DEP}
53 - >=virtual/jre-1.5"
54 -
55 -DEPEND="${COMMON_DEP}
56 - >=virtual/jdk-1.5
57 - test? ( dev-java/ant-junit:0 )"
58 -
59 -src_unpack() {
60 - default
61 - mv "${WORKDIR}"/jruby-${PN}-* "${WORKDIR}"/${P} || die
62 -}
63 -
64 -java_prepare() {
65 - cp "${FILESDIR}"/maven-build.xml build.xml || die
66 -}
67 -
68 -JAVA_ANT_REWRITE_CLASSPATH="true"
69 -
70 -EANT_GENTOO_CLASSPATH="jcodings"
71 -
72 -src_test() {
73 - java-pkg-2_src_test
74 -}
75 -
76 -src_install() {
77 - java-pkg_dojar target/${PN}.jar
78 -
79 - use doc && java-pkg_dojavadoc target/site/apidocs
80 - use source && java-pkg_dosrc src/*
81 -}
82
83 diff --git a/dev-java/bytelist/files/maven-build.xml b/dev-java/bytelist/files/maven-build.xml
84 deleted file mode 100644
85 index ee880775a40..00000000000
86 --- a/dev-java/bytelist/files/maven-build.xml
87 +++ /dev/null
88 @@ -1,219 +0,0 @@
89 -<?xml version="1.0" encoding="UTF-8"?>
90 -
91 -<project name="bytelist-from-maven" default="package" basedir=".">
92 -
93 - <!-- ====================================================================== -->
94 - <!-- Build environment properties -->
95 - <!-- ====================================================================== -->
96 -
97 - <property file="${user.home}/.m2/maven.properties"/>
98 - <property file="maven-build.properties"/>
99 -
100 - <property name="maven.build.finalName" value="bytelist"/>
101 - <property name="maven.build.dir" value="target"/>
102 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
103 - <property name="maven.build.srcDir.0" value="src"/>
104 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
105 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
106 - <property name="maven.build.testDir.0" value="test"/>
107 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
108 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
109 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
110 -
111 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
112 - <property name="maven.settings.offline" value="false"/>
113 - <property name="maven.settings.interactiveMode" value="true"/>
114 -
115 - <!-- ====================================================================== -->
116 - <!-- Defining classpaths -->
117 - <!-- ====================================================================== -->
118 -
119 - <path id="build.classpath">
120 - </path>
121 - <path id="build.test.classpath">
122 - </path>
123 -
124 - <!-- ====================================================================== -->
125 - <!-- Cleaning up target -->
126 - <!-- ====================================================================== -->
127 -
128 - <target name="clean" description="Clean the output directory">
129 - <delete dir="${maven.build.dir}"/>
130 - </target>
131 -
132 - <!-- ====================================================================== -->
133 - <!-- Compilation target -->
134 - <!-- ====================================================================== -->
135 -
136 - <target name="compile" depends="get-deps" description="Compile the code">
137 - <mkdir dir="${maven.build.outputDir}"/>
138 - <javac destdir="${maven.build.outputDir}"
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.srcDir.0}"/>
149 - </src>
150 - <classpath refid="build.classpath"/>
151 - </javac>
152 - </target>
153 -
154 - <!-- ====================================================================== -->
155 - <!-- Test-compilation target -->
156 - <!-- ====================================================================== -->
157 -
158 - <target name="compile-tests"
159 - depends="compile"
160 - description="Compile the test code"
161 - unless="maven.test.skip">
162 - <mkdir dir="${maven.build.testOutputDir}"/>
163 - <javac destdir="${maven.build.testOutputDir}"
164 - nowarn="false"
165 - debug="true"
166 - optimize="false"
167 - deprecation="true"
168 - target="1.5"
169 - verbose="false"
170 - fork="false"
171 - source="1.5">
172 - <src>
173 - <pathelement location="${maven.build.testDir.0}"/>
174 - </src>
175 - <classpath>
176 - <path refid="build.test.classpath"/>
177 - <pathelement location="${maven.build.outputDir}"/>
178 - </classpath>
179 - </javac>
180 - </target>
181 -
182 - <!-- ====================================================================== -->
183 - <!-- Run all tests -->
184 - <!-- ====================================================================== -->
185 -
186 - <target name="test"
187 - depends="compile-tests, junit-missing"
188 - unless="junit.skipped"
189 - description="Run the test cases">
190 - <mkdir dir="${maven.test.reports}"/>
191 - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
192 - <sysproperty key="basedir" value="."/>
193 - <formatter type="xml"/>
194 - <formatter type="plain" usefile="false"/>
195 - <classpath>
196 - <path refid="build.test.classpath"/>
197 - <pathelement location="${maven.build.outputDir}"/>
198 - <pathelement location="${maven.build.testOutputDir}"/>
199 - </classpath>
200 - <batchtest todir="${maven.test.reports}" unless="test">
201 - <fileset dir="${maven.build.testDir.0}">
202 - <include name="**/Test*.java"/>
203 - <include name="**/*Test.java"/>
204 - <include name="**/*TestCase.java"/>
205 - <exclude name="**/*Abstract*Test.java"/>
206 - </fileset>
207 - </batchtest>
208 - <batchtest todir="${maven.test.reports}" if="test">
209 - <fileset dir="${maven.build.testDir.0}">
210 - <include name="**/${test}.java"/>
211 - <exclude name="**/*Abstract*Test.java"/>
212 - </fileset>
213 - </batchtest>
214 - </junit>
215 - </target>
216 -
217 - <target name="test-junit-present">
218 - <available classname="junit.framework.Test" property="junit.present"/>
219 - </target>
220 -
221 - <target name="test-junit-status"
222 - depends="test-junit-present">
223 - <condition property="junit.missing">
224 - <and>
225 - <isfalse value="${junit.present}"/>
226 - <isfalse value="${maven.test.skip}"/>
227 - </and>
228 - </condition>
229 - <condition property="junit.skipped">
230 - <or>
231 - <isfalse value="${junit.present}"/>
232 - <istrue value="${maven.test.skip}"/>
233 - </or>
234 - </condition>
235 - </target>
236 -
237 - <target name="junit-missing"
238 - depends="test-junit-status"
239 - if="junit.missing">
240 - <echo>=================================== WARNING ===================================</echo>
241 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
242 - <echo>===============================================================================</echo>
243 - </target>
244 -
245 - <!-- ====================================================================== -->
246 - <!-- Javadoc target -->
247 - <!-- ====================================================================== -->
248 -
249 - <target name="javadoc" description="Generates the Javadoc of the application">
250 - <javadoc sourcepath="${maven.build.srcDir.0}"
251 - packagenames="*"
252 - destdir="${maven.reporting.outputDirectory}/apidocs"
253 - access="protected"
254 - old="false"
255 - verbose="false"
256 - version="true"
257 - use="true"
258 - author="true"
259 - splitindex="false"
260 - nodeprecated="false"
261 - nodeprecatedlist="false"
262 - notree="false"
263 - noindex="false"
264 - nohelp="false"
265 - nonavbar="false"
266 - serialwarn="false"
267 - charset="ISO-8859-1"
268 - linksource="false"
269 - breakiterator="false"/>
270 - </target>
271 -
272 - <!-- ====================================================================== -->
273 - <!-- Package target -->
274 - <!-- ====================================================================== -->
275 -
276 - <target name="package" depends="compile,test" description="Package the application">
277 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
278 - compress="true"
279 - index="false"
280 - manifest="MANIFEST.MF"
281 - basedir="${maven.build.outputDir}"
282 - excludes="**/package.html"/>
283 - </target>
284 -
285 - <!-- ====================================================================== -->
286 - <!-- A dummy target for the package named after the type it creates -->
287 - <!-- ====================================================================== -->
288 -
289 - <target name="jar" depends="package" description="Builds the jar for the application"/>
290 -
291 - <!-- ====================================================================== -->
292 - <!-- Download dependencies target -->
293 - <!-- ====================================================================== -->
294 -
295 - <target name="test-offline">
296 - <condition property="maven.mode.offline">
297 - <equals arg1="${maven.settings.offline}" arg2="true"/>
298 - </condition>
299 - </target>
300 -
301 - <target name="get-deps"
302 - depends="test-offline"
303 - description="Download all dependencies"
304 - unless="maven.mode.offline">
305 - </target>
306 -
307 -</project>