1 |
commit: 91685be2e61b730435ff96587ef8e35cf1057e15 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 1 07:38:40 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 07:55:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91685be2 |
7 |
|
8 |
dev-java/netty-transport: Version bump. |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
dev-java/netty-transport/Manifest | 1 + |
14 |
.../files/netty-transport-4.0.22-build.xml | 229 +++++++++++++++++++++ |
15 |
.../netty-transport/netty-transport-4.0.22.ebuild | 49 +++++ |
16 |
3 files changed, 279 insertions(+) |
17 |
|
18 |
diff --git a/dev-java/netty-transport/Manifest b/dev-java/netty-transport/Manifest |
19 |
index f3f3b5b..25704ec 100644 |
20 |
--- a/dev-java/netty-transport/Manifest |
21 |
+++ b/dev-java/netty-transport/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a |
24 |
+DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5 |
25 |
|
26 |
diff --git a/dev-java/netty-transport/files/netty-transport-4.0.22-build.xml b/dev-java/netty-transport/files/netty-transport-4.0.22-build.xml |
27 |
new file mode 100644 |
28 |
index 0000000..95387c4 |
29 |
--- /dev/null |
30 |
+++ b/dev-java/netty-transport/files/netty-transport-4.0.22-build.xml |
31 |
@@ -0,0 +1,229 @@ |
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 5/15/14 7:12 PM --> |
45 |
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
46 |
+<!-- --> |
47 |
+<!-- ====================================================================== --> |
48 |
+ |
49 |
+<project name="netty-transport-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="netty-transport-4.0.22.Final"/> |
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> |
79 |
+ <path id="build.test.classpath"> |
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" description="Compile the code"> |
95 |
+ <mkdir dir="${maven.build.outputDir}"/> |
96 |
+ <javac destdir="${maven.build.outputDir}" |
97 |
+ nowarn="true" |
98 |
+ debug="true" |
99 |
+ optimize="true" |
100 |
+ deprecation="true" |
101 |
+ target="1.6" |
102 |
+ verbose="false" |
103 |
+ fork="true" |
104 |
+ memoryInitialSize="1024m" |
105 |
+ source="1.6"> |
106 |
+ <src> |
107 |
+ <pathelement location="${maven.build.srcDir.0}"/> |
108 |
+ </src> |
109 |
+ <classpath refid="build.classpath"/> |
110 |
+ </javac> |
111 |
+ </target> |
112 |
+ |
113 |
+ <!-- ====================================================================== --> |
114 |
+ <!-- Test-compilation target --> |
115 |
+ <!-- ====================================================================== --> |
116 |
+ |
117 |
+ <target name="compile-tests" |
118 |
+ depends="compile" |
119 |
+ description="Compile the test code" |
120 |
+ unless="maven.test.skip"> |
121 |
+ <mkdir dir="${maven.build.testOutputDir}"/> |
122 |
+ <javac destdir="${maven.build.testOutputDir}" |
123 |
+ nowarn="true" |
124 |
+ debug="true" |
125 |
+ optimize="true" |
126 |
+ deprecation="true" |
127 |
+ target="1.6" |
128 |
+ verbose="false" |
129 |
+ fork="true" |
130 |
+ memoryInitialSize="1024m" |
131 |
+ source="1.6"> |
132 |
+ <src> |
133 |
+ <pathelement location="${maven.build.testDir.0}"/> |
134 |
+ </src> |
135 |
+ <classpath> |
136 |
+ <path refid="build.test.classpath"/> |
137 |
+ <pathelement location="${maven.build.outputDir}"/> |
138 |
+ </classpath> |
139 |
+ </javac> |
140 |
+ </target> |
141 |
+ |
142 |
+ <!-- ====================================================================== --> |
143 |
+ <!-- Run all tests --> |
144 |
+ <!-- ====================================================================== --> |
145 |
+ |
146 |
+ <target name="test" |
147 |
+ depends="compile-tests, junit-missing" |
148 |
+ unless="junit.skipped" |
149 |
+ description="Run the test cases"> |
150 |
+ <mkdir dir="${maven.test.reports}"/> |
151 |
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
152 |
+ <sysproperty key="basedir" value="."/> |
153 |
+ <formatter type="xml"/> |
154 |
+ <formatter type="plain" usefile="false"/> |
155 |
+ <classpath> |
156 |
+ <path refid="build.test.classpath"/> |
157 |
+ <pathelement location="${maven.build.outputDir}"/> |
158 |
+ <pathelement location="${maven.build.testOutputDir}"/> |
159 |
+ </classpath> |
160 |
+ <batchtest todir="${maven.test.reports}" unless="test"> |
161 |
+ <fileset dir="${maven.build.testDir.0}"> |
162 |
+ <include name="**/*Test*.java"/> |
163 |
+ <include name="**/*Benchmark*.java"/> |
164 |
+ <exclude name="**/Abstract*"/> |
165 |
+ <exclude name="**/TestUtil*"/> |
166 |
+ </fileset> |
167 |
+ </batchtest> |
168 |
+ <batchtest todir="${maven.test.reports}" if="test"> |
169 |
+ <fileset dir="${maven.build.testDir.0}"> |
170 |
+ <include name="**/${test}.java"/> |
171 |
+ <exclude name="**/Abstract*"/> |
172 |
+ <exclude name="**/TestUtil*"/> |
173 |
+ </fileset> |
174 |
+ </batchtest> |
175 |
+ </junit> |
176 |
+ </target> |
177 |
+ |
178 |
+ <target name="test-junit-present"> |
179 |
+ <available classname="junit.framework.Test" property="junit.present"/> |
180 |
+ </target> |
181 |
+ |
182 |
+ <target name="test-junit-status" |
183 |
+ depends="test-junit-present"> |
184 |
+ <condition property="junit.missing"> |
185 |
+ <and> |
186 |
+ <isfalse value="${junit.present}"/> |
187 |
+ <isfalse value="${maven.test.skip}"/> |
188 |
+ </and> |
189 |
+ </condition> |
190 |
+ <condition property="junit.skipped"> |
191 |
+ <or> |
192 |
+ <isfalse value="${junit.present}"/> |
193 |
+ <istrue value="${maven.test.skip}"/> |
194 |
+ </or> |
195 |
+ </condition> |
196 |
+ </target> |
197 |
+ |
198 |
+ <target name="junit-missing" |
199 |
+ depends="test-junit-status" |
200 |
+ if="junit.missing"> |
201 |
+ <echo>=================================== WARNING ===================================</echo> |
202 |
+ <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
203 |
+ <echo>===============================================================================</echo> |
204 |
+ </target> |
205 |
+ |
206 |
+ <!-- ====================================================================== --> |
207 |
+ <!-- Javadoc target --> |
208 |
+ <!-- ====================================================================== --> |
209 |
+ |
210 |
+ <target name="javadoc" description="Generates the Javadoc of the application"> |
211 |
+ <javadoc sourcepath="${maven.build.srcDir.0}" |
212 |
+ packagenames="*" |
213 |
+ destdir="${maven.reporting.outputDirectory}/apidocs" |
214 |
+ access="protected" |
215 |
+ old="false" |
216 |
+ verbose="false" |
217 |
+ version="false" |
218 |
+ use="true" |
219 |
+ author="false" |
220 |
+ splitindex="false" |
221 |
+ nodeprecated="false" |
222 |
+ nodeprecatedlist="false" |
223 |
+ notree="false" |
224 |
+ noindex="false" |
225 |
+ nohelp="false" |
226 |
+ nonavbar="false" |
227 |
+ serialwarn="false" |
228 |
+ charset="ISO-8859-1" |
229 |
+ linksource="false" |
230 |
+ breakiterator="true"/> |
231 |
+ </target> |
232 |
+ |
233 |
+ <!-- ====================================================================== --> |
234 |
+ <!-- Package target --> |
235 |
+ <!-- ====================================================================== --> |
236 |
+ |
237 |
+ <target name="package" depends="compile,test" description="Package the application"> |
238 |
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
239 |
+ compress="true" |
240 |
+ index="false" |
241 |
+ basedir="${maven.build.outputDir}" |
242 |
+ excludes="**/package.html"/> |
243 |
+ </target> |
244 |
+ |
245 |
+ <!-- ====================================================================== --> |
246 |
+ <!-- A dummy target for the package named after the type it creates --> |
247 |
+ <!-- ====================================================================== --> |
248 |
+ |
249 |
+ <target name="jar" depends="package" description="Builds the jar for the application"/> |
250 |
+ |
251 |
+ <!-- ====================================================================== --> |
252 |
+ <!-- Download dependencies target --> |
253 |
+ <!-- ====================================================================== --> |
254 |
+ |
255 |
+ <target name="test-offline"> |
256 |
+ <condition property="maven.mode.offline"> |
257 |
+ <equals arg1="${maven.settings.offline}" arg2="true"/> |
258 |
+ </condition> |
259 |
+ </target> |
260 |
+</project> |
261 |
|
262 |
diff --git a/dev-java/netty-transport/netty-transport-4.0.22.ebuild b/dev-java/netty-transport/netty-transport-4.0.22.ebuild |
263 |
new file mode 100644 |
264 |
index 0000000..5e639b9 |
265 |
--- /dev/null |
266 |
+++ b/dev-java/netty-transport/netty-transport-4.0.22.ebuild |
267 |
@@ -0,0 +1,49 @@ |
268 |
+# Copyright 1999-2015 Gentoo Foundation |
269 |
+# Distributed under the terms of the GNU General Public License v2 |
270 |
+# $Id$ |
271 |
+ |
272 |
+EAPI="5" |
273 |
+ |
274 |
+JAVA_PKG_IUSE="doc source" |
275 |
+ |
276 |
+inherit java-pkg-2 java-ant-2 |
277 |
+ |
278 |
+MY_PN="netty" |
279 |
+MY_P="${MY_PN}-${PV}" |
280 |
+DESCRIPTION="Async event-driven framework for rapid development of high performance network applications" |
281 |
+HOMEPAGE="http://netty.io/" |
282 |
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz" |
283 |
+ |
284 |
+LICENSE="Apache-2.0" |
285 |
+SLOT="0" |
286 |
+KEYWORDS="~amd64 ~x86" |
287 |
+ |
288 |
+CDEPEND="dev-java/${MY_PN}-buffer:0 |
289 |
+ dev-java/${MY_PN}-common:0" |
290 |
+ |
291 |
+RDEPEND=">=virtual/jre-1.6 |
292 |
+ ${CDEPEND}" |
293 |
+ |
294 |
+DEPEND=">=virtual/jdk-1.6 |
295 |
+ ${CDEPEND}" |
296 |
+ |
297 |
+S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" |
298 |
+ |
299 |
+JAVA_ANT_REWRITE_CLASSPATH="yes" |
300 |
+EANT_GENTOO_CLASSPATH="${MY_PN}-buffer,${MY_PN}-common" |
301 |
+EANT_BUILD_TARGET="package" |
302 |
+JAVA_ANT_ENCODING="UTF-8" |
303 |
+ |
304 |
+# error: package ch.qos.logback.classic does not exist |
305 |
+RESTRICT="test" |
306 |
+ |
307 |
+java_prepare() { |
308 |
+ cp "${FILESDIR}"/${P}-build.xml build.xml || die |
309 |
+} |
310 |
+ |
311 |
+src_install() { |
312 |
+ java-pkg_newjar target/${MY_PN}-*.jar ${PN}.jar |
313 |
+ |
314 |
+ use doc && java-pkg_dojavadoc target/site/apidocs |
315 |
+ use source && java-pkg_dosrc src/main/java/* |
316 |
+} |