From ff5d2b93fb62c934b8e54d5a83db44c7fd3abdca Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Thu, 1 Oct 2015 07:39:07 +0000 Subject: [PATCH] dev-java/netty-codec: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/netty-codec/Manifest | 1 + .../files/netty-codec-4.0.22-build.xml | 258 ++++++++++++++++++ .../netty-codec/netty-codec-4.0.22.ebuild | 56 ++++ 3 files changed, 315 insertions(+) create mode 100644 dev-java/netty-codec/files/netty-codec-4.0.22-build.xml create mode 100644 dev-java/netty-codec/netty-codec-4.0.22.ebuild diff --git a/dev-java/netty-codec/Manifest b/dev-java/netty-codec/Manifest index 2665155da82f..461190c8be8f 100644 --- a/dev-java/netty-codec/Manifest +++ b/dev-java/netty-codec/Manifest @@ -1,2 +1,3 @@ DIST netty-4.0.19.Final.tar.gz 929126 SHA256 065980d0232179a02dc52d55e9017f485c2cbcf14597172cac3bfd2db5dce9ac SHA512 031a251c93b2c475bbf12610f297ed47eacc430ba19e05fd33c12ab768b1d14556cb59d0f9e2a19f87c325b516323cd2ec13a341522825a19d76c27abb13a4cf WHIRLPOOL 8a2c026c62de3a26ef0c432af37b193b10bc826429399dc8fb8016d50cb22359e50087a10edecd69924861bf1f29da02b39810f37db514ba260a1ea9ef2692d0 DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a +DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5 diff --git a/dev-java/netty-codec/files/netty-codec-4.0.22-build.xml b/dev-java/netty-codec/files/netty-codec-4.0.22-build.xml new file mode 100644 index 000000000000..938e196de1df --- /dev/null +++ b/dev-java/netty-codec/files/netty-codec-4.0.22-build.xml @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/netty-codec/netty-codec-4.0.22.ebuild b/dev-java/netty-codec/netty-codec-4.0.22.ebuild new file mode 100644 index 000000000000..876c6672fe7f --- /dev/null +++ b/dev-java/netty-codec/netty-codec-4.0.22.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +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}-buffer:0 + dev-java/${MY_PN}-common:0 + dev-java/${MY_PN}-transport:0 + dev-java/jboss-marshalling:0 + dev-java/jzlib:1.1.3 + dev-libs/protobuf[java]" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" + +EANT_BUILD_TARGET="package" +EANT_GENTOO_CLASSPATH="${MY_PN}-buffer,${MY_PN}-common,jboss-marshalling,${MY_PN}-transport,jzlib-1.1.3,protobuf" +JAVA_ANT_REWRITE_CLASSPATH="true" + +java_prepare() { + cp "${FILESDIR}"/${P}-build.xml build.xml || die +} + +# [junit] Testcase: testZLIB_OR_NONE2 took 0.008 sec +# [junit] Caused an ERROR +# [junit] null +# [junit] java.lang.InstantiationException +# [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:408) +RESTRICT="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 +} -- 2.26.2