commit:     f99d86728b040d50d335425ae4bd3d29e1ebd037
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 05:21:30 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 05:21:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99d8672

dev-ruby/msgpack: add 1.0.1

Package-Manager: portage-2.3.0

 dev-ruby/msgpack/Manifest             |  1 +
 dev-ruby/msgpack/msgpack-1.0.1.ebuild | 45 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest
index f928e44..409316c 100644
--- a/dev-ruby/msgpack/Manifest
+++ b/dev-ruby/msgpack/Manifest
@@ -2,3 +2,4 @@ DIST msgpack-0.7.4.gem 74752 SHA256 
c4fa8f8d727877b3dc9f90dfe0fff0b012df5d49e649
 DIST msgpack-0.7.5.gem 74752 SHA256 
ccb200af9a4fafad22af4c23617a7d41c955d8de6973ee597ef27fb0bf7d0721 SHA512 
a726cee1552f0f09b3586ce0589354e5df48777ddb036eae04181bb9e8bfc2612a87bd3b0f87e4052631bc5a951a4d31449f6774c6353a0a51ecccb0647525e4
 WHIRLPOOL 
c5799ea7c1e26b6a24e48512ebe40f6759b6bc1654f6210e15e1f0ad983dc7b33ea2a7fb4656b5fb9bcf4d9f1b80dfb31e593307028c47430d78e403fc1461ce
 DIST msgpack-0.7.6.gem 74752 SHA256 
8537beb868cc6e742488c54928961cd79694fa0ef5d10772dd3e3eaf62ccc2ba SHA512 
9d30533175118c08f671015a99664e4798c845f63595495933b42f0fa95c160a6708e472da70baeb64537a704dd4768cdc9ab99a19045daabd92555b21f4e389
 WHIRLPOOL 
879e5b6b3fc6cd82d28cce5c4f91621437b2cfc34caf21bdbad5d1bf48d8f7719c97b7b1f96e5648ddc77cee679911c58711a8804dc30765f1ae3ff7f8e32f94
 DIST msgpack-1.0.0.gem 76800 SHA256 
14a6f9fefc354f169ab016258677b25ae082cf8af9ff667166cc50679686f4bd SHA512 
e87c267a67cc8d89dcc499570bf3316a84643acfbd045ec7a66990b3388e9305c068b7d5c759d35e52c9acb1172794399d2df4a3db4b7685978f3488ff1c3eca
 WHIRLPOOL 
f22e1319ec8a0bce18f0197efe84e528ffba70771607e369c9571ef3355dc605a19ed70e0cbba372ea9fee8cfb81bb317207d3cf940435a46f8ecd24b99af1ac
+DIST msgpack-1.0.1.gem 77312 SHA256 
b6b2253658ebea78c3933a72b50463414e9cbcd29daf7ebf070a5d7c6bef195f SHA512 
6a8edde5ef049a5fc3304200424d263d1d67b2e4e3c49480c17b3377713beb7f6e83e43b8a7b1358bb511671b6a7f77650fd949e9c7c432b6fe4141a40628c32
 WHIRLPOOL 
f5e680c8064be6a492f7de46d967f0d491d0c50704413910fbe890d59f11fbc2bb8a8f35efdff25df3411def388e8adee9e77279eecd42812c829b657c6068b3

diff --git a/dev-ruby/msgpack/msgpack-1.0.1.ebuild 
b/dev-ruby/msgpack/msgpack-1.0.1.ebuild
new file mode 100644
index 00000000..fc0ae75
--- /dev/null
+++ b/dev-ruby/msgpack/msgpack-1.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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 ~ppc64 ~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."
+
+       # rb_num2int is not inlined on 32 bit arches but also not explicitly
+       # defined, bug 582968
+       sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die
+}
+
+each_ruby_compile() {
+       emake V=1 -Cext/${PN}
+       cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install 
msgpack library."
+}

Reply via email to