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/kryo/Manifest | 3 +++ dev-java/kryo/kryo-2.24.0.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++ dev-java/kryo/metadata.xml | 18 +++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 dev-java/kryo/Manifest create mode 100644 dev-java/kryo/kryo-2.24.0.ebuild create mode 100644 dev-java/kryo/metadata.xml (limited to 'dev-java/kryo') diff --git a/dev-java/kryo/Manifest b/dev-java/kryo/Manifest new file mode 100644 index 000000000000..7d65ed163176 --- /dev/null +++ b/dev-java/kryo/Manifest @@ -0,0 +1,3 @@ +DIST kryo-2.24.0.zip 1203526 BLAKE2B a5a7f0376ee71bbd479f8d51b0d35a6445cf9b92ebc42e7af16cd57d0ba61eb45d23f88172e489ec08fbd45d1229f86f1e6babf2590a0f718eb9b82b413201f1 SHA512 0c804e7986678339865cb0dd000bce063e5a91d1f3ae56eba1ca1b1bcca5e917a5d69fe14ff0c986e36c49f115336efb6221d771dd19b4dda91a9a7a6daf1463 +EBUILD kryo-2.24.0.ebuild 1239 BLAKE2B b73a8b5e6510c412b0efcb65b2d88403e21b345d8129a3d4cae82fa50f13a9b4d78e242843f5867e6897e612beb8daef7116ccb78b7fbfd7d500ddbb9a3ae0cc SHA512 311f2771735a18480c79dd8e2246ec131bdad70dff3764a2df942a27208a55e2d6fa857fea9214bade1259f4e6545929e7c51d14b855ed91d4d01a7724ad0575 +MISC metadata.xml 770 BLAKE2B 599e02a9d8f95fc1091ee8ceee1f731ffa91cda749da008b541cef05f5d77a08de3077021c5a4bbf0ecfa99c48cd1bc8f31677cabce278688ef3cf0cf5d206c5 SHA512 0874395033c8921e6caeddebcab9bdbfacaa4e57e0e7900cd8baa36717db48edd4e0c6e05d152e93ffe8e62477f4d733cf61536fee8c2f96aba75884f629a6e4 diff --git a/dev-java/kryo/kryo-2.24.0.ebuild b/dev-java/kryo/kryo-2.24.0.ebuild new file mode 100644 index 000000000000..e2179fff8899 --- /dev/null +++ b/dev-java/kryo/kryo-2.24.0.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="source doc test" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Fast, efficient Java serialization and cloning" +HOMEPAGE="https://github.com/EsotericSoftware/kryo" +SRC_URI="https://github.com/EsotericSoftware/${PN}/archive/${P}.zip" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +CDEPEND=" + dev-java/objenesis:0 + dev-java/reflectasm:0 + dev-java/minlog:0" + +DEPEND=" + ${CDEPEND} + test? ( + dev-java/junit:4 + ) + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR="src" +JAVA_GENTOO_CLASSPATH="objenesis,reflectasm,minlog" + +src_prepare() { + rm "${S}"/pom.xml || die + find "${S}" -name "*.jar" -delete || die +} + +src_test() { + mkdir target/tests || die + local testcp="${S}/${PN}.jar:target/tests:$(java-pkg_getjars junit-4)" + testcp+=":$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH})" + + ejavac -cp "${testcp}" -d target/tests $(find test/ -name "*.java") + tests=$(find target/tests -name "*Test.class" \ + | sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \ + | grep -vP '\$'); + ejunit4 -cp "${testcp}" ${tests} +} diff --git a/dev-java/kryo/metadata.xml b/dev-java/kryo/metadata.xml new file mode 100644 index 000000000000..b89ab26977a5 --- /dev/null +++ b/dev-java/kryo/metadata.xml @@ -0,0 +1,18 @@ + + + + + java@gentoo.org + Java + + + Kryo is a fast and efficient object graph serialization framework for Java. + The goals of the project are speed, efficiency, and an easy to use API. The project + is useful any time objects need to be persisted, whether to a file, database, or over + the network. Kryo can also perform automatic deep and shallow copying/cloning. This is direct copying + from object to object, not object->bytes->object. + + + EsotericSoftware/kryo + + -- cgit v1.2.3