diff options
-rw-r--r-- | dev-ruby/msgpack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/msgpack/msgpack-0.7.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index d49399b38cc7..2ae0900a72b9 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1,2 +1,3 @@ DIST msgpack-0.6.2.gem 59904 SHA256 f59a903e239f7caa7c714042171e104029e575cd62415f1927407fd042b478a1 SHA512 7b3a697ee69df19dddcb0de835d4a6910a249bc2747fbeba1ba8ef9d485cdfaf0eafee52fbc5bf00c1c386f25d324109b46160f7ca56643feea1ddc9fc6605e9 WHIRLPOOL 516745a4cc0e2a0559b9ed4948e4db53fd4712a619b7ff9750d9d11e49e6e00b4a85242a30caf30f8bfadc438b70ed327a51728b051bf54a273b2120ed72b833 DIST msgpack-0.7.0.gem 72704 SHA256 4c387745fac439fa77ec2e0f1d343f0b4c35d611e14ac7e205eece7c2aa45658 SHA512 f2c03389110329eb22fe7c0eea8e686a0cde0a9dcfad8d7ad57b126f6d04aa04c6860537edbb7a4b42de757900ced61eb68932665b24d1d96f1a4a44c46316eb WHIRLPOOL c087b2c5d15d30f8693e0e07d3cfa49c7e8a6d528cecf42f2019721988447e1caed7a180f44bdc83d4d578561ce2ea829e319ec0826f295cc20c1a3d79777389 +DIST msgpack-0.7.1.gem 73216 SHA256 27d6182a94057f1d73f04acbd242c647e089a4bac469d5dc7dc4195afab53947 SHA512 dde9492b6bfa56e070043e4f55beaba1f9fc509df643acb946048b30d566a3e3d9c278f6691bc065507382cfe9a975fd658e2ccfc7370123d67cededf18cd807 WHIRLPOOL 9679761d5b780852ebf6a1cbc3746b63079139c6df86d8c8b9292e6d7fb4268076cc924f7ad51e9b32e8fd54ee200444a28874e537cf94e3e43446fc8e7f7855 diff --git a/dev-ruby/msgpack/msgpack-0.7.1.ebuild b/dev-ruby/msgpack/msgpack-0.7.1.ebuild new file mode 100644 index 000000000000..1f72c65b9e5c --- /dev/null +++ b/dev-ruby/msgpack/msgpack-0.7.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="http://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e '/git ls-files/d' msgpack.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} |