Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/netty-codec/, dev-java/netty-codec/files/
Date: Thu, 01 Oct 2015 08:39:47
Message-Id: 1443686138.41041dd64d18ed8b6ee3186438f567740334ba8c.monsieurp@gentoo
1 commit: 41041dd64d18ed8b6ee3186438f567740334ba8c
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 1 07:39:54 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 1 07:55:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41041dd6
7
8 dev-java/netty-codec: Clean up old.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/netty-codec/Manifest | 1 -
14 .../netty-codec/files/netty-codec-4.0.19-build.xml | 260 ---------------------
15 dev-java/netty-codec/netty-codec-4.0.19.ebuild | 72 ------
16 dev-java/netty-codec/netty-codec-4.0.22.ebuild | 2 +-
17 4 files changed, 1 insertion(+), 334 deletions(-)
18
19 diff --git a/dev-java/netty-codec/Manifest b/dev-java/netty-codec/Manifest
20 index 461190c..25704ec 100644
21 --- a/dev-java/netty-codec/Manifest
22 +++ b/dev-java/netty-codec/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST netty-4.0.19.Final.tar.gz 929126 SHA256 065980d0232179a02dc52d55e9017f485c2cbcf14597172cac3bfd2db5dce9ac SHA512 031a251c93b2c475bbf12610f297ed47eacc430ba19e05fd33c12ab768b1d14556cb59d0f9e2a19f87c325b516323cd2ec13a341522825a19d76c27abb13a4cf WHIRLPOOL 8a2c026c62de3a26ef0c432af37b193b10bc826429399dc8fb8016d50cb22359e50087a10edecd69924861bf1f29da02b39810f37db514ba260a1ea9ef2692d0
25 DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
26 DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5
27
28 diff --git a/dev-java/netty-codec/files/netty-codec-4.0.19-build.xml b/dev-java/netty-codec/files/netty-codec-4.0.19-build.xml
29 deleted file mode 100644
30 index d8a2553..0000000
31 --- a/dev-java/netty-codec/files/netty-codec-4.0.19-build.xml
32 +++ /dev/null
33 @@ -1,260 +0,0 @@
34 -<?xml version="1.0" encoding="UTF-8"?>
35 -
36 -<!-- ====================================================================== -->
37 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
38 -<!-- ====================================================================== -->
39 -
40 -<!-- ====================================================================== -->
41 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
42 -<!-- ====================================================================== -->
43 -<!-- -->
44 -<!-- Any modifications will be overwritten. -->
45 -<!-- -->
46 -<!-- Generated by Maven Ant Plugin on 5/15/14 7:12 PM -->
47 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
48 -<!-- -->
49 -<!-- ====================================================================== -->
50 -
51 -<project name="netty-codec-from-maven" default="package" basedir=".">
52 -
53 - <!-- ====================================================================== -->
54 - <!-- Build environment properties -->
55 - <!-- ====================================================================== -->
56 -
57 - <property file="${user.home}/.m2/maven.properties"/>
58 - <property file="maven-build.properties"/>
59 -
60 - <property name="maven.build.finalName" value="netty-codec-4.0.19.Final"/>
61 - <property name="maven.build.dir" value="target"/>
62 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
63 - <property name="maven.build.srcDir.0" value="src/main/java"/>
64 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
65 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
66 - <property name="maven.build.testDir.0" value="src/test/java"/>
67 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
68 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
69 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
70 -
71 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
72 - <property name="maven.settings.offline" value="false"/>
73 - <property name="maven.settings.interactiveMode" value="true"/>
74 -
75 - <!-- ====================================================================== -->
76 - <!-- Defining classpaths -->
77 - <!-- ====================================================================== -->
78 -
79 - <path id="build.classpath">
80 - <pathelement location="${maven.repo.local}/io/netty/netty-transport/4.0.19.Final/netty-transport-4.0.19.Final.jar"/>
81 - <pathelement location="${maven.repo.local}/io/netty/netty-buffer/4.0.19.Final/netty-buffer-4.0.19.Final.jar"/>
82 - <pathelement location="${maven.repo.local}/io/netty/netty-common/4.0.19.Final/netty-common-4.0.19.Final.jar"/>
83 - <pathelement location="${maven.repo.local}/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar"/>
84 - <pathelement location="${maven.repo.local}/org/jboss/marshalling/jboss-marshalling/1.3.18.GA/jboss-marshalling-1.3.18.GA.jar"/>
85 - <pathelement location="${maven.repo.local}/com/jcraft/jzlib/1.1.2/jzlib-1.1.2.jar"/>
86 - </path>
87 - <path id="build.test.classpath">
88 - <pathelement location="${maven.repo.local}/io/netty/netty-transport/4.0.19.Final/netty-transport-4.0.19.Final.jar"/>
89 - <pathelement location="${maven.repo.local}/io/netty/netty-buffer/4.0.19.Final/netty-buffer-4.0.19.Final.jar"/>
90 - <pathelement location="${maven.repo.local}/io/netty/netty-common/4.0.19.Final/netty-common-4.0.19.Final.jar"/>
91 - <pathelement location="${maven.repo.local}/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar"/>
92 - <pathelement location="${maven.repo.local}/org/jboss/marshalling/jboss-marshalling/1.3.18.GA/jboss-marshalling-1.3.18.GA.jar"/>
93 - <pathelement location="${maven.repo.local}/com/jcraft/jzlib/1.1.2/jzlib-1.1.2.jar"/>
94 - <pathelement location="${maven.repo.local}/org/jboss/marshalling/jboss-marshalling-serial/1.3.18.GA/jboss-marshalling-serial-1.3.18.GA.jar"/>
95 - <pathelement location="${maven.repo.local}/org/jboss/marshalling/jboss-marshalling-river/1.3.18.GA/jboss-marshalling-river-1.3.18.GA.jar"/>
96 - <pathelement location="${maven.repo.local}/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar"/>
97 - <pathelement location="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"/>
98 - <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
99 - <pathelement location="${maven.repo.local}/org/easymock/easymock/3.2/easymock-3.2.jar"/>
100 - <pathelement location="${maven.repo.local}/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar"/>
101 - <pathelement location="${maven.repo.local}/org/objenesis/objenesis/1.3/objenesis-1.3.jar"/>
102 - <pathelement location="${maven.repo.local}/org/easymock/easymockclassextension/3.2/easymockclassextension-3.2.jar"/>
103 - <pathelement location="${maven.repo.local}/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar"/>
104 - <pathelement location="${maven.repo.local}/org/jmock/jmock/2.6.0/jmock-2.6.0.jar"/>
105 - <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar"/>
106 - <pathelement location="${maven.repo.local}/junit/junit-dep/4.4/junit-dep-4.4.jar"/>
107 - <pathelement location="${maven.repo.local}/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar"/>
108 - <pathelement location="${maven.repo.local}/ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.jar"/>
109 - <pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar"/>
110 - </path>
111 -
112 - <!-- ====================================================================== -->
113 - <!-- Cleaning up target -->
114 - <!-- ====================================================================== -->
115 -
116 - <target name="clean" description="Clean the output directory">
117 - <delete dir="${maven.build.dir}"/>
118 - </target>
119 -
120 - <!-- ====================================================================== -->
121 - <!-- Compilation target -->
122 - <!-- ====================================================================== -->
123 -
124 - <target name="compile" description="Compile the code">
125 - <mkdir dir="${maven.build.outputDir}"/>
126 - <javac destdir="${maven.build.outputDir}"
127 - nowarn="true"
128 - debug="true"
129 - optimize="true"
130 - deprecation="true"
131 - target="1.6"
132 - verbose="false"
133 - fork="true"
134 - memoryMaximumSize="256m"
135 - memoryInitialSize="1024m"
136 - source="1.6">
137 - <src>
138 - <pathelement location="${maven.build.srcDir.0}"/>
139 - </src>
140 - <classpath refid="build.classpath"/>
141 - </javac>
142 - </target>
143 -
144 - <!-- ====================================================================== -->
145 - <!-- Test-compilation target -->
146 - <!-- ====================================================================== -->
147 -
148 - <target name="compile-tests"
149 - depends="compile"
150 - description="Compile the test code"
151 - unless="maven.test.skip">
152 - <mkdir dir="${maven.build.testOutputDir}"/>
153 - <javac destdir="${maven.build.testOutputDir}"
154 - nowarn="true"
155 - debug="true"
156 - optimize="true"
157 - deprecation="true"
158 - target="1.6"
159 - verbose="false"
160 - fork="true"
161 - memoryMaximumSize="256m"
162 - memoryInitialSize="1024m"
163 - source="1.6">
164 - <src>
165 - <pathelement location="${maven.build.testDir.0}"/>
166 - </src>
167 - <classpath>
168 - <path refid="build.test.classpath"/>
169 - <pathelement location="${maven.build.outputDir}"/>
170 - </classpath>
171 - </javac>
172 - </target>
173 -
174 - <!-- ====================================================================== -->
175 - <!-- Run all tests -->
176 - <!-- ====================================================================== -->
177 -
178 - <target name="test"
179 - depends="compile-tests, junit-missing"
180 - unless="junit.skipped"
181 - description="Run the test cases">
182 - <mkdir dir="${maven.test.reports}"/>
183 - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
184 - <sysproperty key="basedir" value="."/>
185 - <formatter type="xml"/>
186 - <formatter type="plain" usefile="false"/>
187 - <classpath>
188 - <path refid="build.test.classpath"/>
189 - <pathelement location="${maven.build.outputDir}"/>
190 - <pathelement location="${maven.build.testOutputDir}"/>
191 - </classpath>
192 - <batchtest todir="${maven.test.reports}" unless="test">
193 - <fileset dir="${maven.build.testDir.0}">
194 - <include name="**/*Test*.java"/>
195 - <include name="**/*Benchmark*.java"/>
196 - <exclude name="**/Abstract*"/>
197 - <exclude name="**/TestUtil*"/>
198 - </fileset>
199 - </batchtest>
200 - <batchtest todir="${maven.test.reports}" if="test">
201 - <fileset dir="${maven.build.testDir.0}">
202 - <include name="**/${test}.java"/>
203 - <exclude name="**/Abstract*"/>
204 - <exclude name="**/TestUtil*"/>
205 - </fileset>
206 - </batchtest>
207 - </junit>
208 - </target>
209 -
210 - <target name="test-junit-present">
211 - <available classname="junit.framework.Test" property="junit.present"/>
212 - </target>
213 -
214 - <target name="test-junit-status"
215 - depends="test-junit-present">
216 - <condition property="junit.missing">
217 - <and>
218 - <isfalse value="${junit.present}"/>
219 - <isfalse value="${maven.test.skip}"/>
220 - </and>
221 - </condition>
222 - <condition property="junit.skipped">
223 - <or>
224 - <isfalse value="${junit.present}"/>
225 - <istrue value="${maven.test.skip}"/>
226 - </or>
227 - </condition>
228 - </target>
229 -
230 - <target name="junit-missing"
231 - depends="test-junit-status"
232 - if="junit.missing">
233 - <echo>=================================== WARNING ===================================</echo>
234 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
235 - <echo>===============================================================================</echo>
236 - </target>
237 -
238 - <!-- ====================================================================== -->
239 - <!-- Javadoc target -->
240 - <!-- ====================================================================== -->
241 -
242 - <target name="javadoc" description="Generates the Javadoc of the application">
243 - <javadoc sourcepath="${maven.build.srcDir.0}"
244 - packagenames="*"
245 - destdir="${maven.reporting.outputDirectory}/apidocs"
246 - access="protected"
247 - old="false"
248 - verbose="false"
249 - version="false"
250 - use="true"
251 - author="false"
252 - splitindex="false"
253 - nodeprecated="false"
254 - nodeprecatedlist="false"
255 - notree="false"
256 - noindex="false"
257 - nohelp="false"
258 - nonavbar="false"
259 - serialwarn="false"
260 - charset="ISO-8859-1"
261 - linksource="false"
262 - breakiterator="true"/>
263 - </target>
264 -
265 - <!-- ====================================================================== -->
266 - <!-- Package target -->
267 - <!-- ====================================================================== -->
268 -
269 - <target name="package" depends="compile,test" description="Package the application">
270 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
271 - compress="true"
272 - index="false"
273 - basedir="${maven.build.outputDir}"
274 - excludes="**/package.html"/>
275 - </target>
276 -
277 - <!-- ====================================================================== -->
278 - <!-- A dummy target for the package named after the type it creates -->
279 - <!-- ====================================================================== -->
280 -
281 - <target name="jar" depends="package" description="Builds the jar for the application"/>
282 -
283 - <!-- ====================================================================== -->
284 - <!-- Download dependencies target -->
285 - <!-- ====================================================================== -->
286 -
287 - <target name="test-offline">
288 - <condition property="maven.mode.offline">
289 - <equals arg1="${maven.settings.offline}" arg2="true"/>
290 - </condition>
291 - </target>
292 -
293 -</project>
294
295 diff --git a/dev-java/netty-codec/netty-codec-4.0.19.ebuild b/dev-java/netty-codec/netty-codec-4.0.19.ebuild
296 deleted file mode 100644
297 index 3c506e5..0000000
298 --- a/dev-java/netty-codec/netty-codec-4.0.19.ebuild
299 +++ /dev/null
300 @@ -1,72 +0,0 @@
301 -# Copyright 1999-2014 Gentoo Foundation
302 -# Distributed under the terms of the GNU General Public License v2
303 -# $Id$
304 -
305 -EAPI="5"
306 -
307 -JAVA_PKG_IUSE="doc source test"
308 -
309 -inherit java-pkg-2 java-ant-2
310 -
311 -MY_PN="netty"
312 -MY_P="${MY_PN}-${PV}"
313 -DESCRIPTION="Async event-driven framework for rapid development of high performance network applications"
314 -HOMEPAGE="http://netty.io/"
315 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz"
316 -
317 -LICENSE="Apache-2.0"
318 -SLOT="0"
319 -KEYWORDS="~amd64"
320 -
321 -CDEPEND="dev-java/${MY_PN}-buffer:0
322 - dev-java/${MY_PN}-common:0
323 - dev-java/${MY_PN}-transport:0
324 - dev-java/jboss-marshalling:0
325 - dev-java/jzlib:1.1.3
326 - dev-libs/protobuf[java]"
327 -
328 -RDEPEND=">=virtual/jre-1.6
329 - ${CDEPEND}"
330 -
331 -DEPEND=">=virtual/jdk-1.6
332 - ${CDEPEND}
333 - test? (
334 - dev-java/ant-core:0
335 - dev-java/easymock:3.2
336 - dev-java/hamcrest-library:1.3
337 - dev-java/junit:4
338 - )"
339 -
340 -S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}"
341 -
342 -EANT_BUILD_TARGET="package"
343 -EANT_GENTOO_CLASSPATH="${MY_PN}-buffer,${MY_PN}-common,jboss-marshalling,${MY_PN}-transport,jzlib-1.1.3,protobuf"
344 -JAVA_ANT_REWRITE_CLASSPATH="true"
345 -
346 -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-core,easymock-3.2,hamcrest-library-1.3,junit-4"
347 -EANT_TEST_EXTRA_ARGS+=" -Djunit.present=true"
348 -
349 -java_prepare() {
350 - cp "${FILESDIR}"/${P}-build.xml build.xml || die
351 -
352 - # Remove the odd memory restriction in the generated build files.
353 - sed -i 's/memoryMaximumSize="256m"//' build.xml || die
354 -}
355 -
356 -# [junit] Testcase: testZLIB_OR_NONE2 took 0.008 sec
357 -# [junit] Caused an ERROR
358 -# [junit] null
359 -# [junit] java.lang.InstantiationException
360 -# [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
361 -RESTRICT="test"
362 -
363 -src_test() {
364 - ANT_TASKS="ant-junit" java-pkg-2_src_test
365 -}
366 -
367 -src_install() {
368 - java-pkg_newjar target/${MY_PN}-*.jar ${PN}.jar
369 -
370 - use doc && java-pkg_dojavadoc target/site/apidocs
371 - use source && java-pkg_dosrc src/main/java
372 -}
373
374 diff --git a/dev-java/netty-codec/netty-codec-4.0.22.ebuild b/dev-java/netty-codec/netty-codec-4.0.22.ebuild
375 index 876c667..80061aa 100644
376 --- a/dev-java/netty-codec/netty-codec-4.0.22.ebuild
377 +++ b/dev-java/netty-codec/netty-codec-4.0.22.ebuild
378 @@ -1,4 +1,4 @@
379 -# Copyright 1999-2014 Gentoo Foundation
380 +# Copyright 1999-2015 Gentoo Foundation
381 # Distributed under the terms of the GNU General Public License v2
382 # $Id$