diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/netty-handler | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/netty-handler')
-rw-r--r-- | dev-java/netty-handler/Manifest | 3 | ||||
-rw-r--r-- | dev-java/netty-handler/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/netty-handler/netty-handler-4.0.36.ebuild | 56 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/netty-handler/Manifest b/dev-java/netty-handler/Manifest new file mode 100644 index 000000000000..51da82bebe29 --- /dev/null +++ b/dev-java/netty-handler/Manifest @@ -0,0 +1,3 @@ +DIST netty-4.0.36.Final.tar.gz 1267617 BLAKE2B 351b1f73b1a3c60fd843767254ae57e74d74cdfe570828b1a2e7aea55a203866ae4e232bad285c3937d8f2dc7689534ffb180fcd345c8cf10bced7048ec58ec3 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 +EBUILD netty-handler-4.0.36.ebuild 1707 BLAKE2B b0dd571df99cd93ca2a920052d0151e62289a79fc6d583adc956d2c9f28a68a03a94c3f5eada6c0ce9e9c16635d19cc029f274ba327f65246bb01b869b592ec0 SHA512 04e1047b637a53389058e5f21c47eaa871b4d792e980a9b1a166a610614e823dfc263080dd7c3de1c29446fedf2bd2558c056c7ae73ed5f79a73b1b6d419d77a +MISC metadata.xml 322 BLAKE2B bb75fefaf27a5201c39d59fe0baff0538451766c9772cbecaf3ae347774003a2b8fa715f9738ba4324f87ce3a9aece0cb6b7c918660b7cbc6b35909533875ab5 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c diff --git a/dev-java/netty-handler/metadata.xml b/dev-java/netty-handler/metadata.xml new file mode 100644 index 000000000000..3a4bd0130d1b --- /dev/null +++ b/dev-java/netty-handler/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-handler/netty-handler-4.0.36.ebuild b/dev-java/netty-handler/netty-handler-4.0.36.ebuild new file mode 100644 index 000000000000..d4ffae7bdcd0 --- /dev/null +++ b/dev-java/netty-handler/netty-handler-4.0.36.ebuild @@ -0,0 +1,56 @@ +# 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" +IUSE="test" + +CDEPEND="~dev-java/${MY_PN}-buffer-${PV}:0 + ~dev-java/${MY_PN}-codec-${PV}:0 + ~dev-java/${MY_PN}-common-${PV}:0 + ~dev-java/${MY_PN}-transport-${PV}:0 + dev-java/${MY_PN}-tcnative:0 + dev-java/bcpkix:1.52 + dev-java/bcprov:1.52 + dev-java/jetty-alpn-api:0 + dev-java/jetty-npn-api:0" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND} + test? ( + dev-java/hamcrest-core:1.3 + dev-java/hamcrest-library:1.3 + dev-java/junit:4 + dev-java/mockito:0 + )" + +S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="${MY_PN}-buffer,${MY_PN}-codec,${MY_PN}-common,${MY_PN}-tcnative,${MY_PN}-transport,bcpkix-1.52,bcprov-1.52,jetty-alpn-api,jetty-npn-api" + +src_test() { + cd src/test/java || die + + local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},hamcrest-core-1.3,hamcrest-library-1.3,junit-4,mockito)" + local TESTS=$(find * -name "*Test.java" ! -name "RenegotiateTest.java" ! -name "SslContextTest.java" ! -name "SSLEngineTest.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + LD_LIBRARY_PATH=$(java-config -i netty-tcnative) ejunit4 -classpath "${CP}" ${TESTS} +} |