summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2013-09-24 17:30:31 +0000
committerJohann Schmitz <ercpe@gentoo.org>2013-09-24 17:30:31 +0000
commitcd4fa432fd313a0ae8a8ff3234c772f528411a94 (patch)
treede626ee805824c4c2e2dc01543b7cfbbe9f09faf /dev-java
parentEbuild for kryo (Fast, efficient Java serialization and cloning library). (diff)
downloadhistorical-cd4fa432fd313a0ae8a8ff3234c772f528411a94.tar.gz
historical-cd4fa432fd313a0ae8a8ff3234c772f528411a94.tar.bz2
historical-cd4fa432fd313a0ae8a8ff3234c772f528411a94.zip
Latest version (2.21) of kryo
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/kryo/ChangeLog7
-rw-r--r--dev-java/kryo/Manifest18
-rw-r--r--dev-java/kryo/kryo-2.21.ebuild51
3 files changed, 67 insertions, 9 deletions
diff --git a/dev-java/kryo/ChangeLog b/dev-java/kryo/ChangeLog
index b85a0c537a28..c50eb65ad5ff 100644
--- a/dev-java/kryo/ChangeLog
+++ b/dev-java/kryo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/kryo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/kryo/ChangeLog,v 1.1 2013/09/24 17:26:41 ercpe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kryo/ChangeLog,v 1.2 2013/09/24 17:30:30 ercpe Exp $
+
+*kryo-2.21 (24 Sep 2013)
+
+ 24 Sep 2013; Johann Schmitz <ercpe@gentoo.org> +kryo-2.21.ebuild:
+ Latest version (2.21) of kryo.
*kryo-1.05 (24 Sep 2013)
diff --git a/dev-java/kryo/Manifest b/dev-java/kryo/Manifest
index b17131116c84..21c021d9009e 100644
--- a/dev-java/kryo/Manifest
+++ b/dev-java/kryo/Manifest
@@ -2,17 +2,19 @@
Hash: SHA256
DIST kryo-1.05.zip 980393 SHA256 989c23c55fb5465cb4113f24fc728d17fa616bcf91bf4f8d9100c04c615b4a9e SHA512 b19aef102bf0e9a5980856ded3aaadd64616a0ed1d17488b5af1d349987c34603e641d2698712abba39a4fcaa2e9676ed11cc1902a8dfdaccba84a0a37161d40 WHIRLPOOL 4e007e5bb197e2269b9a970974937cbcb8c2905cb36885c2ea8a110f82524533c8e99875625d50155c8bb0b574fb4188404c1f0b9d7652ce4f101a4c2191be77
+DIST kryo-2.21.zip 1749241 SHA256 bab6232c7d07aa669fed19c15ecb4d319fb5072b3f7775d1d178d6c4fb8bd46e SHA512 e2bcf17b13e067b81951145981c091f3250c7c502fe30e9f41fcd0e62bb87bbf4373f5d367842e7b8966dad76f5580fa4e212edd1adf590a05b7e2f40e401c4a WHIRLPOOL 765875e8494de948a2cf594e5612b63504cddec9d91d7da6598cc69fb32b37925c4bfb4351650f9fe7a217535ae9882345d9194fb2dcef64dfec0b0b37371635
EBUILD kryo-1.05.ebuild 1320 SHA256 e97c0eda60ec124a8df307fe6bf1122bc8d6633c3b450ed77bff1ea7aaf8927a SHA512 3cef4acd7a8d493af5281f44042edd6837075623dd54c122828788f7e0135ef66fa309058278937809ebf00e7f325748360237482d50063560b1fc27e4547e81 WHIRLPOOL 98f8f0a522e784c38cc06b06f52a538f6c680b6c2c390fe03f2f7005d2d65b9add60b4c9c4ad31380eef835bb2e3710bbb1c4844013522365e5801a54156ef6b
-MISC ChangeLog 415 SHA256 4a610aa40ae80e6aa0c50f6180116f3183e9c628837d8b11dbcd212be552efdb SHA512 cb2ba1114a28f09eaa2bd3b551fcecbc08b3c29bec76fa1baacb2e81334aa52a891dc2e1513ec08ab7daf2d0c7e11fdb1631b89198c5407e482bd744c720f485 WHIRLPOOL 0cd4c0ce2b678a742e2fe9d1cc813eddec18de09dc54c584cdea8f1914c0f04701a05390ea241b353849e6e46e46f695fce8d91fcfbebf263679091e161290f1
+EBUILD kryo-2.21.ebuild 1308 SHA256 71bc3eb16fc2b0105bec64e8f98981312b8c4b2240bc6df74189f95c6c39b1bd SHA512 a28fb3be89eb2e76ada260b8314530e17942de4dfebda6a25190f225bf04fb049221279a891e56e14d92d4d3d1a996a8ee5b230e63f00fd42586a15fb6167291 WHIRLPOOL 89b50329496e3c55896e6f1fca001e70687743632aeb29749b655ed86c9f5f390a652a07a24de1a021a4b9be468f7dad489938fbb933c973e2e5f0186fa8606f
+MISC ChangeLog 543 SHA256 4bb3c6931d1da71d54323dd6056590bda6a3989cf5a4a3e2d3ed6049dfdeaf47 SHA512 e699a764d8a7646b0ea3352520977908ead101ea673fce1f58b0b15f7624518dfd7ecbb27993336957a982e7eb2d572241e37602c6b9323622024744dbf1db07 WHIRLPOOL 1d1cce44bb3d5d7d7103ebf76fee3f48ab5ab10f7f803fec4f97e151639153aa77b1fe17ec57bdeeb711af23e90488a22997fb3ac9b7c42f9035176dbcd4a2c5
MISC metadata.xml 601 SHA256 36d14676c11d470cc51f11c474e2b76844c1db0324ffa6d8c01900fa0dca0e41 SHA512 cbd7314008708202f6ee9ba69252a9500c38c4437336257ce8d6112a7932367bc36d805e174adf18320985e5670b19f8ef47c5db0ed4e072f31091ddc106059f WHIRLPOOL 1a35d595ae866f725cb3a0da2eb3d364248a21b87e056026fb9c73021313f6a843276a7928a200c9099d7d27e76a2b5648ffc58d946dd75366a08702c0499c32
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJSQctSAAoJEKCEBkJ3xQHtBosH/RZF8DpGh8HUAIU0hOzZC6sf
-NmK+HVal6piXPQ9CRLo+NhyxQh0vi3hTLJbgxwRpgEIHGj7mLdNPjSj9P7IQsUaN
-MJmh77oi+0IF6VYa1btHWwAU4wYKxWIX6TEcR6CrLpLG4/9wSuPB0KB1/qrwWeYq
-kUWLjfizLFkZejKYBkn9KbiuP8zRKn8pthXSNgPMqNW6F4nADHxbbc0lAnSSQmFd
-z3ka73im8rzpIiQXFzhhIkjs8m73o4MI+Jqz5qUuaQJ+CVtl2Gdpz5Z82KvkV5MR
-xQsnG0KS+ZvZvlQTaQyF+PWAOlYN4jYehm+0FIVEt29N9nqXw9P3ECMTD6ibskQ=
-=UFrB
+iQEcBAEBCAAGBQJSQcw3AAoJEKCEBkJ3xQHtFZcH/3KsxU5k8anzXdJDWD+7v7x7
+CgaJ7MIpXT10V01XbMiU9jnLHlp8tzg1ToPtPmc/DgHWxwhKeTXbRMfcxv+qHEm1
+i+eGuap68J8Z3drxoRwqUdUTk0W31vrWylkCu668VE1XUGXWmroE03tL+jZV47RC
+px5C5pjlIC8IWHPZH3A3Dc43qDHLznqxz4yNf8HFDOuKuvrwCyl7b3Vq1m/gQbZa
+yx16vDg/rUbw3UUaVk2d2fw8ZgQzdAHzhxs3/e0fxhT8E0huzCEYz68fhQ3jRmhU
+3TrW0N2OKyELKo2dT/HaUo64I+O9vZJJRTw3EZ0ROF04i11jGGTvfwTphjduUCg=
+=kybP
-----END PGP SIGNATURE-----
diff --git a/dev-java/kryo/kryo-2.21.ebuild b/dev-java/kryo/kryo-2.21.ebuild
new file mode 100644
index 000000000000..1a36138d0d14
--- /dev/null
+++ b/dev-java/kryo/kryo-2.21.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kryo/kryo-2.21.ebuild,v 1.1 2013/09/24 17:30:30 ercpe Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="source doc test"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Fast, efficient Java serialization and cloning"
+HOMEPAGE="https://code.google.com/p/kryo/"
+SRC_URI="https://${PN}.googlecode.com/files/${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.5"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.5"
+
+S="${WORKDIR}/${P}/java"
+
+JAVA_GENTOO_CLASSPATH="objenesis,reflectasm,minlog"
+JAVA_SRC_DIR="src"
+
+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}
+}