summaryrefslogtreecommitdiff
path: root/dev-java/netty-codec-http
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/netty-codec-http
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/netty-codec-http')
-rw-r--r--dev-java/netty-codec-http/Manifest3
-rw-r--r--dev-java/netty-codec-http/metadata.xml11
-rw-r--r--dev-java/netty-codec-http/netty-codec-http-4.0.36.ebuild56
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/netty-codec-http/Manifest b/dev-java/netty-codec-http/Manifest
new file mode 100644
index 000000000000..51f0fc624e56
--- /dev/null
+++ b/dev-java/netty-codec-http/Manifest
@@ -0,0 +1,3 @@
+DIST netty-4.0.36.Final.tar.gz 1267617 BLAKE2B 351b1f73b1a3c60fd843767254ae57e74d74cdfe570828b1a2e7aea55a203866ae4e232bad285c3937d8f2dc7689534ffb180fcd345c8cf10bced7048ec58ec3 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6
+EBUILD netty-codec-http-4.0.36.ebuild 1667 BLAKE2B c2460bb746caa5d83d925478bfd00ba6f13727fc779ebe5a6c06fe5e7817419b55077cd05136f03464a2aec422a91d4664b3764a34d4f99a0bb3c42e4448d8ee SHA512 fd8762b237b31d48ea4945f52fc5399e0957d6619e23e61d553afa9660caa1bbd5671fda2a4d9d59a3325736ece2f64af6d6b979af21e4fbacb67248ec0851f9
+MISC metadata.xml 322 BLAKE2B bb75fefaf27a5201c39d59fe0baff0538451766c9772cbecaf3ae347774003a2b8fa715f9738ba4324f87ce3a9aece0cb6b7c918660b7cbc6b35909533875ab5 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c
diff --git a/dev-java/netty-codec-http/metadata.xml b/dev-java/netty-codec-http/metadata.xml
new file mode 100644
index 000000000000..3a4bd0130d1b
--- /dev/null
+++ b/dev-java/netty-codec-http/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-codec-http/netty-codec-http-4.0.36.ebuild b/dev-java/netty-codec-http/netty-codec-http-4.0.36.ebuild
new file mode 100644
index 000000000000..3753a6e2ebd3
--- /dev/null
+++ b/dev-java/netty-codec-http/netty-codec-http-4.0.36.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"
+
+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}-handler-${PV}:0
+ ~dev-java/${MY_PN}-transport-${PV}:0
+ dev-java/jboss-marshalling:0
+ dev-java/jzlib:1.1.3
+ dev-java/protobuf-java: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/jboss-marshalling-river:0
+ dev-java/jboss-marshalling-serial:0
+ 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}-buffer,${MY_PN}-codec,${MY_PN}-common,${MY_PN}-handler,${MY_PN}-transport,jboss-marshalling,jzlib-1.1.3,protobuf-java"
+
+src_test() {
+ cd src/test/java || die
+
+ local CP=".:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},hamcrest-core-1.3,hamcrest-library-1.3,jboss-marshalling-river,jboss-marshalling-serial,junit-4)"
+ local TESTS=$(find * -name "*Test.java" ! -name "Abstract*" ! -name "ZlibTest*")
+ TESTS="${TESTS//.java}"
+ TESTS="${TESTS//\//.}"
+
+ ejavac -cp "${CP}" -d . $(find * -name "*.java")
+ ejunit4 -classpath "${CP}" ${TESTS}
+}