From c1384fb5f7973bb1c72a4c45c9521a3073b68383 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Thu, 1 Oct 2015 07:24:54 +0000 Subject: [PATCH] dev-java/netty-buffer: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/netty-buffer/Manifest | 1 + .../files/netty-buffer-4.0.22-build.xml | 229 ++++++++++++++++++ .../netty-buffer/netty-buffer-4.0.22.ebuild | 57 +++++ 3 files changed, 287 insertions(+) create mode 100644 dev-java/netty-buffer/files/netty-buffer-4.0.22-build.xml create mode 100644 dev-java/netty-buffer/netty-buffer-4.0.22.ebuild diff --git a/dev-java/netty-buffer/Manifest b/dev-java/netty-buffer/Manifest index f3f3b5b6250a..25704ec1703e 100644 --- a/dev-java/netty-buffer/Manifest +++ b/dev-java/netty-buffer/Manifest @@ -1 +1,2 @@ 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-buffer/files/netty-buffer-4.0.22-build.xml b/dev-java/netty-buffer/files/netty-buffer-4.0.22-build.xml new file mode 100644 index 000000000000..4e3abdbe1fc0 --- /dev/null +++ b/dev-java/netty-buffer/files/netty-buffer-4.0.22-build.xml @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/netty-buffer/netty-buffer-4.0.22.ebuild b/dev-java/netty-buffer/netty-buffer-4.0.22.ebuild new file mode 100644 index 000000000000..8b2bf1a13429 --- /dev/null +++ b/dev-java/netty-buffer/netty-buffer-4.0.22.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~x86" + +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 +} + +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/* +} -- 2.26.2