summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-12-31 22:43:42 +0000
committerHans de Graaff <graaff@gentoo.org>2010-12-31 22:43:42 +0000
commit1f30b83952db5dfe1585709436e371c8815bde42 (patch)
treeda4c982b016e27d9cd3f349ea38e869005f01baa /dev-ruby/msgpack
parentRemove old version. (diff)
downloadhistorical-1f30b83952db5dfe1585709436e371c8815bde42.tar.gz
historical-1f30b83952db5dfe1585709436e371c8815bde42.tar.bz2
historical-1f30b83952db5dfe1585709436e371c8815bde42.zip
Version bump.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r--dev-ruby/msgpack/ChangeLog7
-rw-r--r--dev-ruby/msgpack/msgpack-0.4.4.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/msgpack/ChangeLog b/dev-ruby/msgpack/ChangeLog
index e0edcacfed6a..89a560732578 100644
--- a/dev-ruby/msgpack/ChangeLog
+++ b/dev-ruby/msgpack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/msgpack
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.8 2010/12/31 22:38:01 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.9 2010/12/31 22:41:00 graaff Exp $
+
+*msgpack-0.4.4 (31 Dec 2010)
+
+ 31 Dec 2010; Hans de Graaff <graaff@gentoo.org> +msgpack-0.4.4.ebuild:
+ Version bump.
31 Dec 2010; Hans de Graaff <graaff@gentoo.org> -msgpack-0.3.9.ebuild:
Remove old version.
diff --git a/dev-ruby/msgpack/msgpack-0.4.4.ebuild b/dev-ruby/msgpack/msgpack-0.4.4.ebuild
new file mode 100644
index 000000000000..02547f1e51bf
--- /dev/null
+++ b/dev-ruby/msgpack/msgpack-0.4.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.4.4.ebuild,v 1.1 2010/12/31 22:41:00 graaff Exp $
+
+EAPI="2"
+
+# ruby19 → tests fail
+# jruby → uses a binary extension
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Binary-based efficient data interchange format for ruby binding"
+HOMEPAGE="http://msgpack.sourceforge.jp/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "Configuration of extension failed."
+}
+
+each_ruby_compile() {
+ emake -Cext || die
+
+ mkdir lib || die "Unable to make lib directory."
+ cp ext/msgpack.so lib/ || die "Unable to install msgpack library."
+}
+
+each_ruby_test() {
+ ${RUBY} test/test_cases.rb || die "tests failed"
+ ${RUBY} test/test_pack_unpack.rb || die "tests failed"
+}