summaryrefslogtreecommitdiff
path: root/dev-java/netty-common
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/netty-common
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/netty-common')
-rw-r--r--dev-java/netty-common/Manifest7
-rw-r--r--dev-java/netty-common/metadata.xml11
-rw-r--r--dev-java/netty-common/netty-common-4.0.21.ebuild45
-rw-r--r--dev-java/netty-common/netty-common-4.0.36.ebuild61
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-java/netty-common/Manifest b/dev-java/netty-common/Manifest
new file mode 100644
index 000000000000..a19359464b07
--- /dev/null
+++ b/dev-java/netty-common/Manifest
@@ -0,0 +1,7 @@
+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-common-4.0.21.ebuild 1077 SHA256 5e1eec9bb955155cd9bc063b7c9d6cfea5a2e1e0b5701266c8f201b1b0412af9 SHA512 72a988bc64b7177345fe084746da732deb64391caef03bceae7dea6eedbe23061d2b9e362c6fe265ca8524b43386aff12c3f262f5885f8c34a70cdd6f2bbac22 WHIRLPOOL c726c7f69c9b49f20f300c3840887e468db0be8c9c6078f276f1912cd429740ae6559be29ed1fa7d0c25e7d6787bd648c29045cd0458d11773bde435f23fb804
+EBUILD netty-common-4.0.36.ebuild 1575 SHA256 2ee7e0dbb09ef9cc4397cbf4ef99eb45ad958d042e32bdcd52fd44ebd16252d7 SHA512 bbf723c2f46f15ec93c4a7e3de363709c40b1baf6601defbdd74db230a63f7a49a0e452ab96e71e9d45e1879aa8498c83bf1fc30ceadf213b9112b2519f8e0de WHIRLPOOL 369da70734f76c7a300a54848d24f0bc2045fabbc651ebe0840cbe9a837140cfaabf9b1471142c8d98fe01220bd859f25d3060c5bbe1e844d76bdeff241cf709
+MISC ChangeLog 4124 SHA256 25f9c4126f079f1d41ff5a0a3d60718247f6b8099cbf36e8f1dd58552ccc321d SHA512 ffb930016c4f6fe62aa33171cc691ed7bece3765f4e3bf391a0f48950559da1319a3381087d8a8965b82370f63173cdd9194263fd3f88246db99e4dee607791c WHIRLPOOL 74374ab66c0ed183268da4fe91756144bd4f7d617cfa56fef3bf5b2194bf82ecb7ae8c819d070cc404264e9740219659ba70b306229026c73f3f44e53307f5cf
+MISC ChangeLog-2015 1366 SHA256 42363f681732237636781c4e416d4ed16e137be722e803cbfbecfce0956f21a0 SHA512 92d78595a11fac6571ff62587faeb348046228574e8551a5e686ed333a279ca210005aa6f8e32ee045d3e19fcde1f3aac214bc4ffebb5e1dfc58d5b41fc58072 WHIRLPOOL 0197a9320b46651902ff2bd04a0dc96cb0fb3e6d2c5abbabc941b05abc3ef6474596faa6876e7e000bb8dc0466b5385ba1aa61e089ad5bba03c7802668616c8e
+MISC metadata.xml 322 SHA256 2d65611c4957f6ad48177f32abe97fa1dee2d645cd1e34870082798fd75251b7 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c WHIRLPOOL d25431788cca3ee36307f6fa8d8accab341a32621b89ccbf83cded1fd58d47e3c0184dd8fa890b62b752eea2088e12d15fc61198a16e1c8f749a53f9b11dede1
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">netty/netty</remote-id>
+ </upstream>
+</pkgmetadata>
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}
+}