diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/netty-codec |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/netty-codec')
-rw-r--r-- | dev-java/netty-codec/Manifest | 5 | ||||
-rw-r--r-- | dev-java/netty-codec/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/netty-codec/netty-codec-4.0.36.ebuild | 54 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/netty-codec/Manifest b/dev-java/netty-codec/Manifest new file mode 100644 index 000000000000..7304fd15fa56 --- /dev/null +++ b/dev-java/netty-codec/Manifest @@ -0,0 +1,5 @@ +DIST netty-4.0.36.Final.tar.gz 1267617 SHA256 c37c139dd662331612bb29dcb8f708dd23ecd7c0a14730292cf525bfa48e96d8 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 WHIRLPOOL 535e29762344f3ad7a3d6c7da9df2b56ddb170d184397150dc17c87fe3bee358d7e76e57e6ab88df2acc374be995b119158a368bcc59a069fc45bedf517034fc +EBUILD netty-codec-4.0.36.ebuild 1565 SHA256 23782f9470f34b2c36d17bbc2a27bf82a413048b16f141c9981c88cbf0bf3a3c SHA512 ca21f4d16aa37dd8a7a129feed5cadf0ac5bb60c1fc703259057d914150d1e4cf5ddb799c372375ce22a6dfe6e59c5d1a078a474be27a3b17e1dcdf5f4150cdf WHIRLPOOL f8748debaf00319e9963f749fbdfddde28e428cc135ea214dfd845e6023b145a3b81ca867a3c8957530177b417b4713dee4fbe29d5f7702e16f0db67825b3e75 +MISC ChangeLog 3874 SHA256 74da9edcb055222eaa5d7aac8ab2066bdabd59d53788f3f3b155214f355969c5 SHA512 486178261ec4d14c1419a0b6fb698984066eae6379ca2b08531425003c46cda5bc64ba6deab8d397ab31c66848d5a9df173c7366485602c4a69a0ae82b249263 WHIRLPOOL 8600c60b39acfa6475c27829e1c810a6a21ac3f425fce04167a8d7b1219857b0930ddacdc2afae68fc992ab4432a69af2ca041e217e89c81fc450e61b4987338 +MISC ChangeLog-2015 885 SHA256 b7a559c0449d34030f8256c50dd40a5cc965095dfdcfa4d4bf5cda59a046a0e3 SHA512 055ab2795cab348f68683ed832246385791c58caa9de4d70a35589f1c24f523a7488d001de207c19a437362298444a2e51f02c4965cb77ac5df1a1ec5e2e21c5 WHIRLPOOL 75eef7d2008030fa1bcacde496d05a91c22c157912f1c645745a734ad4c61c888202822e74ced2f93151e6096c066e4d1117752384eb07bfb8d1cf999eb609fe +MISC metadata.xml 322 SHA256 2d65611c4957f6ad48177f32abe97fa1dee2d645cd1e34870082798fd75251b7 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c WHIRLPOOL d25431788cca3ee36307f6fa8d8accab341a32621b89ccbf83cded1fd58d47e3c0184dd8fa890b62b752eea2088e12d15fc61198a16e1c8f749a53f9b11dede1 diff --git a/dev-java/netty-codec/metadata.xml b/dev-java/netty-codec/metadata.xml new file mode 100644 index 000000000000..3a4bd0130d1b --- /dev/null +++ b/dev-java/netty-codec/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/netty-codec-4.0.36.ebuild b/dev-java/netty-codec/netty-codec-4.0.36.ebuild new file mode 100644 index 000000000000..447b8bcc347b --- /dev/null +++ b/dev-java/netty-codec/netty-codec-4.0.36.ebuild @@ -0,0 +1,54 @@ +# 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}-common-${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}-common,${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} +} |