summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-16 12:31:02 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-16 12:46:52 +0000
commit2d409962fef81d42bfe61b7d605ad609f8cbdc6c (patch)
tree46efa0813f9b748bcdd23b0e66d9b1800082a68f /dev-java/kryo
parentdev-java/minlog: Stable for amd64. Retroactively mark stable for the remainin... (diff)
downloadgentoo-2d409962fef81d42bfe61b7d605ad609f8cbdc6c.tar.gz
gentoo-2d409962fef81d42bfe61b7d605ad609f8cbdc6c.tar.bz2
gentoo-2d409962fef81d42bfe61b7d605ad609f8cbdc6c.zip
dev-java/kryo: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/kryo')
-rw-r--r--dev-java/kryo/Manifest1
-rw-r--r--dev-java/kryo/kryo-2.24.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/kryo/Manifest b/dev-java/kryo/Manifest
index 1ef9e43bad0e..2690400fecad 100644
--- a/dev-java/kryo/Manifest
+++ b/dev-java/kryo/Manifest
@@ -1,3 +1,4 @@
DIST kryo-1.05.zip 980393 SHA256 989c23c55fb5465cb4113f24fc728d17fa616bcf91bf4f8d9100c04c615b4a9e SHA512 b19aef102bf0e9a5980856ded3aaadd64616a0ed1d17488b5af1d349987c34603e641d2698712abba39a4fcaa2e9676ed11cc1902a8dfdaccba84a0a37161d40 WHIRLPOOL 4e007e5bb197e2269b9a970974937cbcb8c2905cb36885c2ea8a110f82524533c8e99875625d50155c8bb0b574fb4188404c1f0b9d7652ce4f101a4c2191be77
DIST kryo-2.21.zip 1749241 SHA256 bab6232c7d07aa669fed19c15ecb4d319fb5072b3f7775d1d178d6c4fb8bd46e SHA512 e2bcf17b13e067b81951145981c091f3250c7c502fe30e9f41fcd0e62bb87bbf4373f5d367842e7b8966dad76f5580fa4e212edd1adf590a05b7e2f40e401c4a WHIRLPOOL 765875e8494de948a2cf594e5612b63504cddec9d91d7da6598cc69fb32b37925c4bfb4351650f9fe7a217535ae9882345d9194fb2dcef64dfec0b0b37371635
DIST kryo-2.22.zip 2196334 SHA256 665c81ac37ff7912d3db94fcba766e9d9b14e920dea71be25f742b3c85202838 SHA512 4e2af99be7a251783886c717c2493f73c98faedc1bb5037d9a5344e539ed2a5eca1f1e02dec9adc68752d59ad07184bb4704f726f553261034a7287b83886b30 WHIRLPOOL 6fefa818d60fed4b4ea5672868e4a1f62e0bfcffafc5844943128db70195276b6b0074385abed1cc25ef583598b130a836ebf6d715851cf3eb73de8ba86d4ad2
+DIST kryo-2.24.0.zip 1203526 SHA256 199306ae97ee63f6f692d1725e0074ca1bc395d43526d4923bac436b04c0740d SHA512 0c804e7986678339865cb0dd000bce063e5a91d1f3ae56eba1ca1b1bcca5e917a5d69fe14ff0c986e36c49f115336efb6221d771dd19b4dda91a9a7a6daf1463 WHIRLPOOL 23f9d9f9536b820d9209bdac9769962b17d5f09af9f6e713c8e8f8a35a266da21fdb3bedde93850130b54a01b69faa75f6a230fd79ecb2e1d326ab7f0b02066a
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..97c54be588ed
--- /dev/null
+++ b/dev-java/kryo/kryo-2.24.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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}
+}