From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/netty-common/Manifest | 5 ++ dev-java/netty-common/metadata.xml | 11 +++++ dev-java/netty-common/netty-common-4.0.21.ebuild | 45 +++++++++++++++++ dev-java/netty-common/netty-common-4.0.36.ebuild | 61 ++++++++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 dev-java/netty-common/Manifest create mode 100644 dev-java/netty-common/metadata.xml create mode 100644 dev-java/netty-common/netty-common-4.0.21.ebuild create mode 100644 dev-java/netty-common/netty-common-4.0.36.ebuild (limited to 'dev-java/netty-common') diff --git a/dev-java/netty-common/Manifest b/dev-java/netty-common/Manifest new file mode 100644 index 000000000000..77941e1df3be --- /dev/null +++ b/dev-java/netty-common/Manifest @@ -0,0 +1,5 @@ +DIST netty-4.0.21.Final.tar.gz 960489 BLAKE2B ef279fcc2d56baaee62841ad973702c585d5450a45e513ca6beafa295943878b88ed81b8a167091e77aa9f26bccbdcea4138230850dca57321f1241c4ff56d0b SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 +DIST netty-4.0.36.Final.tar.gz 1267617 BLAKE2B 351b1f73b1a3c60fd843767254ae57e74d74cdfe570828b1a2e7aea55a203866ae4e232bad285c3937d8f2dc7689534ffb180fcd345c8cf10bced7048ec58ec3 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 +EBUILD netty-common-4.0.21.ebuild 1077 BLAKE2B acc67ea4fb21cffcb787c13589a3277b154ad5804ad43ed9de45bf04fd1ea16a247647e5b488d77514da20c69c33d0fcdcc5cebd90dc2063a64deb7937e86e44 SHA512 72a988bc64b7177345fe084746da732deb64391caef03bceae7dea6eedbe23061d2b9e362c6fe265ca8524b43386aff12c3f262f5885f8c34a70cdd6f2bbac22 +EBUILD netty-common-4.0.36.ebuild 1575 BLAKE2B 8cff7403f4d0b91c2fdd16ed3eb567b62d928750c4a81047cd4c5731b06411387cdc9056919e829b132ef244b5e1ab0fc7d9e8f0f177ac561615df5aafd7f86c SHA512 bbf723c2f46f15ec93c4a7e3de363709c40b1baf6601defbdd74db230a63f7a49a0e452ab96e71e9d45e1879aa8498c83bf1fc30ceadf213b9112b2519f8e0de +MISC metadata.xml 322 BLAKE2B bb75fefaf27a5201c39d59fe0baff0538451766c9772cbecaf3ae347774003a2b8fa715f9738ba4324f87ce3a9aece0cb6b7c918660b7cbc6b35909533875ab5 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c diff --git a/dev-java/netty-common/metadata.xml b/dev-java/netty-common/metadata.xml new file mode 100644 index 000000000000..3a4bd0130d1b --- /dev/null +++ b/dev-java/netty-common/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + netty/netty + + diff --git a/dev-java/netty-common/netty-common-4.0.21.ebuild b/dev-java/netty-common/netty-common-4.0.21.ebuild new file mode 100644 index 000000000000..188eed46074b --- /dev/null +++ b/dev-java/netty-common/netty-common-4.0.21.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 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" + +CDEPEND="dev-java/commons-logging:0 + dev-java/javassist:3 + dev-java/log4j:0 + dev-java/slf4j-nop:0 + dev-java/slf4j-api:0" +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND}" + +S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" + +JAVA_GENTOO_CLASSPATH=" + log4j + slf4j-api + slf4j-nop + javassist-3 + commons-logging" + +JAVA_SRC_DIR="src/main/java" + +# Tests fail as they might need logging to be properly set up and/or compatible. +# +# junit.framework.AssertionFailedError: expected:<[foo]> but was:<[NOP]> +# at io.netty.util.internal.logging.Slf4JLoggerFactoryTest.testCreation +RESTRICT="test" diff --git a/dev-java/netty-common/netty-common-4.0.36.ebuild b/dev-java/netty-common/netty-common-4.0.36.ebuild new file mode 100644 index 000000000000..f401578160c6 --- /dev/null +++ b/dev-java/netty-common/netty-common-4.0.36.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 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 ~arm64 ~x86" +IUSE="test" + +CDEPEND="dev-java/commons-logging:0 + dev-java/javassist:3 + dev-java/log4j:0 + dev-java/slf4j-api:0" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND} + test? ( + dev-java/asm:4 + dev-java/cglib:3 + dev-java/easymock:3.2 + dev-java/hamcrest-core:1.3 + dev-java/hamcrest-library:1.3 + dev-java/junit:4 + dev-java/mockito:0 + dev-java/objenesis:0 + dev-java/slf4j-simple:0 + )" + +S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="commons-logging,javassist-3,log4j,slf4j-api" + +java_prepare() { + # Needs Mockito 1.10. + rm -v src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java || die +} + +src_test() { + cd src/test/java || die + + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},asm-4,cglib-3,easymock-3.2,hamcrest-core-1.3,hamcrest-library-1.3,junit-4,mockito,objenesis,slf4j-simple)" + local TESTS=$(find * -name "*Test.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} -- cgit v1.2.3