summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-05-19 12:38:29 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-05-19 12:38:29 +0000
commitc8532229558c0b356a0fad2cc8ebf05fe7319393 (patch)
tree06a0f53a4ce47d5822de3b2919117798c6dbe1e8 /dev-java/netty-buffer
parentNew ebuild for dev-java/netty-common, async event-driven framework for rapid ... (diff)
downloadhistorical-c8532229558c0b356a0fad2cc8ebf05fe7319393.tar.gz
historical-c8532229558c0b356a0fad2cc8ebf05fe7319393.tar.bz2
historical-c8532229558c0b356a0fad2cc8ebf05fe7319393.zip
New ebuild for dev-java/netty-buffer, async event-driven framework for rapid development of high performance network applications; requested by Arfrever, needed for new Jython versions.
Package-Manager: portage-HEAD/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java/netty-buffer')
-rw-r--r--dev-java/netty-buffer/ChangeLog12
-rw-r--r--dev-java/netty-buffer/Manifest19
-rw-r--r--dev-java/netty-buffer/files/netty-buffer-4.0.19-build.xml231
-rw-r--r--dev-java/netty-buffer/metadata.xml5
-rw-r--r--dev-java/netty-buffer/netty-buffer-4.0.19.ebuild60
5 files changed, 327 insertions, 0 deletions
diff --git a/dev-java/netty-buffer/ChangeLog b/dev-java/netty-buffer/ChangeLog
new file mode 100644
index 000000000000..ce56e9f51be9
--- /dev/null
+++ b/dev-java/netty-buffer/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/netty-buffer
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netty-buffer/ChangeLog,v 1.1 2014/05/19 12:38:22 tomwij Exp $
+
+*netty-buffer-4.0.19 (19 May 2014)
+
+ 19 May 2014; Tom Wijsman <TomWij@gentoo.org>
+ +files/netty-buffer-4.0.19-build.xml, +metadata.xml,
+ +netty-buffer-4.0.19.ebuild:
+ New ebuild for dev-java/netty-buffer, async event-driven framework for rapid
+ development of high performance network applications; requested by Arfrever,
+ needed for new Jython versions.
diff --git a/dev-java/netty-buffer/Manifest b/dev-java/netty-buffer/Manifest
new file mode 100644
index 000000000000..d66acb5513e8
--- /dev/null
+++ b/dev-java/netty-buffer/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX netty-buffer-4.0.19-build.xml 9769 SHA256 7c4eaf7b5881007f0ee1b60b5f73b6eacb1d1518bf71b7e94c1034be5b3f8d57 SHA512 163fb784df0dcb09afc968465705e39747dd6f0d68f0553b59c30287c12b5646a8eb4f002b3de23846f1d02768989f70c0f732b021494d691cba46270d39f5ab WHIRLPOOL 5f85496a737622d6719a91448b3a8959b004d8d21452e0f84accd6994f55e7992d7cd8627450ec44c6f06b92332771d674719c1e22ffaf17515869382bd24b44
+DIST netty-4.0.19.Final.tar.gz 929126 SHA256 065980d0232179a02dc52d55e9017f485c2cbcf14597172cac3bfd2db5dce9ac SHA512 031a251c93b2c475bbf12610f297ed47eacc430ba19e05fd33c12ab768b1d14556cb59d0f9e2a19f87c325b516323cd2ec13a341522825a19d76c27abb13a4cf WHIRLPOOL 8a2c026c62de3a26ef0c432af37b193b10bc826429399dc8fb8016d50cb22359e50087a10edecd69924861bf1f29da02b39810f37db514ba260a1ea9ef2692d0
+EBUILD netty-buffer-4.0.19.ebuild 1555 SHA256 1cf8b6b57a79ece70b157f99bf10f279037e270878dac407765b452bd4e4ac4e SHA512 b7cdac982f5ae2ce5ab8e7d84565badafd68fb2d2e2d819f5a1ed41c212c9d547f640931479d29eabc06bea1e389efda184225da099f73a700449d84b5ed242c WHIRLPOOL dc3f4ff2fb5f834c9abf819f4e5e42ef6165fa8e8e3a36c24946bc6d94153fc837c61f06acb3bc0d97d6baedf321a15053ca11f7f951e9bf11821c6686a3788a
+MISC ChangeLog 576 SHA256 58d47c5444aa7fc50acbef97fc070093e0cc821938c14c1f6ae4295a1f8ebce7 SHA512 4e75c41235e0540432a964bb9ac4772ec384e4d88ab638420fba4073f3dac964f5100cc30328e6a586b262664db87a77e8edc05163993641b171001178e78286 WHIRLPOOL 896cc364a5fcf1223386f7171af8e18be6b94a138537cf3c5d1c58a2af716225f3daa54dcef971719b9454712e8ab329ae7adb61bb62f0ffc73507a2c2746c1e
+MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJTefsyAAoJEJWyH81tNOV97/cH/0V72EjiW7PWaxgs6y1L2EzR
+FiuDDlg3Kesg1NDuFVxdtv8/yg23xeA3t6FOI6OjiPk4cHCDAy2tM9dCc4Lp0O6E
+Ft2N6fqag1LSuKbA66RTbC2LWrlLLCg2ZjiaCCPgumZbCIpIRrFBMhWYx8lGex9Y
+xRytBVjsYL8QRtvEdp4uupFJLsIkTqmlzzxW+ml4UtEw6qP34UhvxqKKxAl/R6jU
+0xRteBor3yXxdmCzlTqGeUVyMgrclqFTncaOU8RXDXJX3ybwMKkula6gb6OSVyU5
+xaDttPrdfjHnc8o5+09iym8+6YBu6CH/KCTb8q9pevOk82co+4Bu5MpH7IJQH2Q=
+=8cNz
+-----END PGP SIGNATURE-----
diff --git a/dev-java/netty-buffer/files/netty-buffer-4.0.19-build.xml b/dev-java/netty-buffer/files/netty-buffer-4.0.19-build.xml
new file mode 100644
index 000000000000..44fef2151062
--- /dev/null
+++ b/dev-java/netty-buffer/files/netty-buffer-4.0.19-build.xml
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
+<!-- ====================================================================== -->
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Any modifications will be overwritten. -->
+<!-- -->
+<!-- Generated by Maven Ant Plugin on 5/15/14 7:12 PM -->
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<project name="netty-buffer-from-maven" default="package" basedir=".">
+
+ <!-- ====================================================================== -->
+ <!-- Build environment properties -->
+ <!-- ====================================================================== -->
+
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property file="maven-build.properties"/>
+
+ <property name="maven.build.finalName" value="netty-buffer-4.0.19.Final"/>
+ <property name="maven.build.dir" value="target"/>
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
+ <property name="maven.build.srcDir.0" value="src/main/java"/>
+ <property name="maven.build.resourceDir.0" value="src/main/resources"/>
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
+ <property name="maven.build.testDir.0" value="src/test/java"/>
+ <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
+
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <property name="maven.settings.offline" value="false"/>
+ <property name="maven.settings.interactiveMode" value="true"/>
+
+ <!-- ====================================================================== -->
+ <!-- Defining classpaths -->
+ <!-- ====================================================================== -->
+
+ <path id="build.classpath">
+ </path>
+ <path id="build.test.classpath">
+ </path>
+
+ <!-- ====================================================================== -->
+ <!-- Cleaning up target -->
+ <!-- ====================================================================== -->
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.dir}"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile" description="Compile the code">
+ <mkdir dir="${maven.build.outputDir}"/>
+ <javac destdir="${maven.build.outputDir}"
+ nowarn="true"
+ debug="true"
+ optimize="true"
+ deprecation="true"
+ target="1.6"
+ verbose="false"
+ fork="true"
+ memoryMaximumSize="256m"
+ memoryInitialSize="1024m"
+ source="1.6">
+ <src>
+ <pathelement location="${maven.build.srcDir.0}"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Test-compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile-tests"
+ depends="compile"
+ description="Compile the test code"
+ unless="maven.test.skip">
+ <mkdir dir="${maven.build.testOutputDir}"/>
+ <javac destdir="${maven.build.testOutputDir}"
+ nowarn="true"
+ debug="true"
+ optimize="true"
+ deprecation="true"
+ target="1.6"
+ verbose="false"
+ fork="true"
+ memoryMaximumSize="256m"
+ memoryInitialSize="1024m"
+ source="1.6">
+ <src>
+ <pathelement location="${maven.build.testDir.0}"/>
+ </src>
+ <classpath>
+ <path refid="build.test.classpath"/>
+ <pathelement location="${maven.build.outputDir}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Run all tests -->
+ <!-- ====================================================================== -->
+
+ <target name="test"
+ depends="compile-tests, junit-missing"
+ unless="junit.skipped"
+ description="Run the test cases">
+ <mkdir dir="${maven.test.reports}"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="false"/>
+ <classpath>
+ <path refid="build.test.classpath"/>
+ <pathelement location="${maven.build.outputDir}"/>
+ <pathelement location="${maven.build.testOutputDir}"/>
+ </classpath>
+ <batchtest todir="${maven.test.reports}" unless="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/*Test*.java"/>
+ <include name="**/*Benchmark*.java"/>
+ <exclude name="**/Abstract*"/>
+ <exclude name="**/TestUtil*"/>
+ </fileset>
+ </batchtest>
+ <batchtest todir="${maven.test.reports}" if="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/${test}.java"/>
+ <exclude name="**/Abstract*"/>
+ <exclude name="**/TestUtil*"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present"/>
+ </target>
+
+ <target name="test-junit-status"
+ depends="test-junit-present">
+ <condition property="junit.missing">
+ <and>
+ <isfalse value="${junit.present}"/>
+ <isfalse value="${maven.test.skip}"/>
+ </and>
+ </condition>
+ <condition property="junit.skipped">
+ <or>
+ <isfalse value="${junit.present}"/>
+ <istrue value="${maven.test.skip}"/>
+ </or>
+ </condition>
+ </target>
+
+ <target name="junit-missing"
+ depends="test-junit-status"
+ if="junit.missing">
+ <echo>=================================== WARNING ===================================</echo>
+ <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
+ <echo>===============================================================================</echo>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Javadoc target -->
+ <!-- ====================================================================== -->
+
+ <target name="javadoc" description="Generates the Javadoc of the application">
+ <javadoc sourcepath="${maven.build.srcDir.0}"
+ packagenames="*"
+ destdir="${maven.reporting.outputDirectory}/apidocs"
+ access="protected"
+ old="false"
+ verbose="false"
+ version="false"
+ use="true"
+ author="false"
+ splitindex="false"
+ nodeprecated="false"
+ nodeprecatedlist="false"
+ notree="false"
+ noindex="false"
+ nohelp="false"
+ nonavbar="false"
+ serialwarn="false"
+ charset="ISO-8859-1"
+ linksource="false"
+ breakiterator="true"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Package target -->
+ <!-- ====================================================================== -->
+
+ <target name="package" depends="compile,test" description="Package the application">
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
+ compress="true"
+ index="false"
+ basedir="${maven.build.outputDir}"
+ excludes="**/package.html"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- A dummy target for the package named after the type it creates -->
+ <!-- ====================================================================== -->
+
+ <target name="jar" depends="package" description="Builds the jar for the application"/>
+
+ <!-- ====================================================================== -->
+ <!-- Download dependencies target -->
+ <!-- ====================================================================== -->
+
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${maven.settings.offline}" arg2="true"/>
+ </condition>
+ </target>
+</project>
diff --git a/dev-java/netty-buffer/metadata.xml b/dev-java/netty-buffer/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/netty-buffer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/netty-buffer/netty-buffer-4.0.19.ebuild b/dev-java/netty-buffer/netty-buffer-4.0.19.ebuild
new file mode 100644
index 000000000000..5e58e6d802f0
--- /dev/null
+++ b/dev-java/netty-buffer/netty-buffer-4.0.19.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netty-buffer/netty-buffer-4.0.19.ebuild,v 1.1 2014/05/19 12:38:22 tomwij Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="netty"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Async event-driven framework for rapid development of high performance network applications"
+HOMEPAGE="http://netty.io/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CDEPEND="dev-java/${MY_PN}-common:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}
+ test? (
+ dev-java/ant-core:0
+ dev-java/easymock:3.2
+ dev-java/hamcrest-library:1.3
+ dev-java/junit:4
+ )"
+
+S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}"
+
+EANT_BUILD_TARGET="package"
+EANT_GENTOO_CLASSPATH="${MY_PN}-common"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-core,easymock-3.2,hamcrest-library-1.3,junit-4"
+EANT_TEST_EXTRA_ARGS+=" -Djunit.present=true"
+
+java_prepare() {
+ cp "${FILESDIR}"/${P}-build.xml build.xml || die
+
+ # Remove the odd memory restriction in the generated build files.
+ sed -i 's/memoryMaximumSize="256m"//' build.xml || die
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar target/${MY_PN}-*.jar ${PN}.jar
+
+ use doc && java-pkg_dojavadoc target/site/apidocs
+ use source && java-pkg_dosrc src/main/java
+}