diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-06-05 12:08:01 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-06-05 12:08:01 +0000 |
commit | 50940396971ea714dc8cb86a8fb336fc22074127 (patch) | |
tree | 3285d42f2e98518de910431a9abd0b10cd7ac108 /dev-ruby/msgpack | |
parent | Moved from sunrise overlay. Fixes bug #236231 (diff) | |
download | gentoo-2-50940396971ea714dc8cb86a8fb336fc22074127.tar.gz gentoo-2-50940396971ea714dc8cb86a8fb336fc22074127.tar.bz2 gentoo-2-50940396971ea714dc8cb86a8fb336fc22074127.zip |
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r-- | dev-ruby/msgpack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/msgpack/msgpack-0.4.2.ebuild | 40 |
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/msgpack/ChangeLog b/dev-ruby/msgpack/ChangeLog index 4b29531e0123..41f31b4ebca2 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.5 2010/05/26 11:55:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.6 2010/06/05 12:08:01 graaff Exp $ + +*msgpack-0.4.2 (05 Jun 2010) + + 05 Jun 2010; Hans de Graaff <graaff@gentoo.org> +msgpack-0.4.2.ebuild: + Version bump. 26 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> -msgpack-0.3.3.ebuild, -msgpack-0.3.6.ebuild, msgpack-0.3.9.ebuild: diff --git a/dev-ruby/msgpack/msgpack-0.4.2.ebuild b/dev-ruby/msgpack/msgpack-0.4.2.ebuild new file mode 100644 index 000000000000..b697dad8eb3a --- /dev/null +++ b/dev-ruby/msgpack/msgpack-0.4.2.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.2.ebuild,v 1.1 2010/06/05 12:08:01 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" +} |