From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/netty-buffer/Manifest | 8 + .../files/netty-buffer-4.0.21-build.xml | 229 +++++++++++++++++++++ dev-java/netty-buffer/metadata.xml | 11 + dev-java/netty-buffer/netty-buffer-4.0.21.ebuild | 56 +++++ dev-java/netty-buffer/netty-buffer-4.0.36.ebuild | 48 +++++ 5 files changed, 352 insertions(+) create mode 100644 dev-java/netty-buffer/Manifest create mode 100644 dev-java/netty-buffer/files/netty-buffer-4.0.21-build.xml create mode 100644 dev-java/netty-buffer/metadata.xml create mode 100644 dev-java/netty-buffer/netty-buffer-4.0.21.ebuild create mode 100644 dev-java/netty-buffer/netty-buffer-4.0.36.ebuild (limited to 'dev-java/netty-buffer') diff --git a/dev-java/netty-buffer/Manifest b/dev-java/netty-buffer/Manifest new file mode 100644 index 000000000000..fd512bb341ed --- /dev/null +++ b/dev-java/netty-buffer/Manifest @@ -0,0 +1,8 @@ +AUX netty-buffer-4.0.21-build.xml 9693 SHA256 8264038de9030beacebe1a884da458250da08c0c5d21712c0f01cad417225c9b SHA512 5b082802b6f7c7e619ba053757ede64f0ffa18c3002205207d2d129464aa89f5b52c20133299e280ea937e821a42e525e7885d773f56f0c8000726b56753fbf9 WHIRLPOOL 626b4116cc91d12c237dda8de29d7ae873544e78a3f7f5f6f8bee8e15cfd3292ccfcf611b399c9981c4219ebad3f56de51aa9a1cb6d4de147b970ea39d164d9d +DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a +DIST netty-4.0.36.Final.tar.gz 1267617 SHA256 c37c139dd662331612bb29dcb8f708dd23ecd7c0a14730292cf525bfa48e96d8 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 WHIRLPOOL 535e29762344f3ad7a3d6c7da9df2b56ddb170d184397150dc17c87fe3bee358d7e76e57e6ab88df2acc374be995b119158a368bcc59a069fc45bedf517034fc +EBUILD netty-buffer-4.0.21.ebuild 1292 SHA256 9dcc4a912574894de2488338a99da8d86ac0f17d78ea7c416cb7f6f86d9b5205 SHA512 51df749a4f546b5bc0e717d6b279397c8c5d1a9045392aea75cd84c89752b49aa0d25003b4cd0742c08980b7c554eec051ff0c78cee3ade65edd15d99e20ec42 WHIRLPOOL fcd8d07361b475a0d8ff30733e5e0f4b89e1543b9db876814417e4dde2ba4cf9acf5ce171e9abdcd90e06876e876ff691752bf14cac39f93b138800f2997236f +EBUILD netty-buffer-4.0.36.ebuild 1233 SHA256 eaeb78054db1dc2b153f08656011119b0bfcaf10893944891b817846e3c4f899 SHA512 efb521ff910efe81d47ffa700fab5c3031686d00b229906325f532f463fa9039c584a78e823aada5c60951389afb83373e292a3c27db73a6a20ffb13276e90d8 WHIRLPOOL 382a3fa6fa70e4e962f46e3921fd4ee286b4969de679f393949438ef0f102dae1bc1c764c613b349f9a0216af75b4000d49d732f3386d7a9f64d91138a4575c5 +MISC ChangeLog 3969 SHA256 cdbb96220eb7b4dd7c4e58a0be13145404d07c620c0f56595f36d51effde158b SHA512 48a579d92fd51a8435ae185f609f7f1a5d91aa62ba8646605e98ec776c4a46e1a3e30c3f5d90d417e3cb1344c4fa549176af234911a49a42eeea66a735a0c5dd WHIRLPOOL a8bc2516b8a74ad53f96e9d0f35d241c3998ade9fd7c3a08bc5434fa446518b4dce0d43ef8be8f00886305690230b9835acbbe1242717afe54a2614b1e2f1eb0 +MISC ChangeLog-2015 1086 SHA256 2744867f85bc2699131bdf8db9f1de092ee3ceb004ceaeca4b97dbf40b73f151 SHA512 9a39aa2b48fa842f9b526a767fcf2f0e37f73b66652ac44eec56ed5e06e1227ddc5d228f7f56f323f3882c77d9e82a58ae543d8d5726cb396a6076b27f31f4d1 WHIRLPOOL 72430ea79f13dd6f87a3c3a78e909033996216958592685bcb9d19ad400b02e552706529da304de2d030fe96359494f042d56e2dab7f97a7f05291590274c3e7 +MISC metadata.xml 322 SHA256 2d65611c4957f6ad48177f32abe97fa1dee2d645cd1e34870082798fd75251b7 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c WHIRLPOOL d25431788cca3ee36307f6fa8d8accab341a32621b89ccbf83cded1fd58d47e3c0184dd8fa890b62b752eea2088e12d15fc61198a16e1c8f749a53f9b11dede1 diff --git a/dev-java/netty-buffer/files/netty-buffer-4.0.21-build.xml b/dev-java/netty-buffer/files/netty-buffer-4.0.21-build.xml new file mode 100644 index 000000000000..376c30458ecd --- /dev/null +++ b/dev-java/netty-buffer/files/netty-buffer-4.0.21-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/metadata.xml b/dev-java/netty-buffer/metadata.xml new file mode 100644 index 000000000000..3a4bd0130d1b --- /dev/null +++ b/dev-java/netty-buffer/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + netty/netty + + diff --git a/dev-java/netty-buffer/netty-buffer-4.0.21.ebuild b/dev-java/netty-buffer/netty-buffer-4.0.21.ebuild new file mode 100644 index 000000000000..44d1a7d3625f --- /dev/null +++ b/dev-java/netty-buffer/netty-buffer-4.0.21.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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/* +} diff --git a/dev-java/netty-buffer/netty-buffer-4.0.36.ebuild b/dev-java/netty-buffer/netty-buffer-4.0.36.ebuild new file mode 100644 index 000000000000..2e4b6c85aa19 --- /dev/null +++ b/dev-java/netty-buffer/netty-buffer-4.0.36.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="netty" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Async event-driven framework for 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" +IUSE="test" + +CDEPEND="~dev-java/${MY_PN}-common-${PV}:0" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND} + test? ( + dev-java/easymock:3.2 + dev-java/hamcrest-core:1.3 + dev-java/hamcrest-library:1.3 + dev-java/junit:4 + )" + +S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="${MY_PN}-common" + +src_test() { + cd src/test/java || die + + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},easymock-3.2,hamcrest-core-1.3,hamcrest-library-1.3,junit-4)" + local TESTS=$(find * -name "*Test.java" ! -name "Abstract*") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} -- cgit v1.2.3