diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-08-12 18:05:36 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-08-12 18:05:36 +0000 |
commit | 5db782453e5ad46ce9ef9171d374ef036f0e88c7 (patch) | |
tree | a119196b54520af5a8aa2126491cdf359e437304 /dev-ruby/msgpack | |
parent | Remove old versions. (diff) | |
download | gentoo-2-5db782453e5ad46ce9ef9171d374ef036f0e88c7.tar.gz gentoo-2-5db782453e5ad46ce9ef9171d374ef036f0e88c7.tar.bz2 gentoo-2-5db782453e5ad46ce9ef9171d374ef036f0e88c7.zip |
Version bump.
(Portage version: 2.1.10.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.6.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/msgpack/ChangeLog b/dev-ruby/msgpack/ChangeLog index bc676fe44a3a..2cc44e6e8cfc 100644 --- a/dev-ruby/msgpack/ChangeLog +++ b/dev-ruby/msgpack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/msgpack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.11 2011/08/12 18:02:13 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.12 2011/08/12 18:05:36 graaff Exp $ + +*msgpack-0.4.6 (12 Aug 2011) + + 12 Aug 2011; Hans de Graaff <graaff@gentoo.org> +msgpack-0.4.6.ebuild: + Version bump. 12 Aug 2011; Hans de Graaff <graaff@gentoo.org> -msgpack-0.4.2.ebuild, -msgpack-0.4.3.ebuild, -msgpack-0.4.4.ebuild: diff --git a/dev-ruby/msgpack/msgpack-0.4.6.ebuild b/dev-ruby/msgpack/msgpack-0.4.6.ebuild new file mode 100644 index 000000000000..3fb1ee921549 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-0.4.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.4.6.ebuild,v 1.1 2011/08/12 18:05:36 graaff Exp $ + +EAPI="3" + +# ruby19 → tests fail +# jruby → uses a binary extension +USE_RUBY="ruby18 ruby19 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() { + cd test + ${RUBY} test_cases.rb || die "tests failed" + ${RUBY} test_pack_unpack.rb || die "tests failed" +} |