summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2016-07-12 17:00:58 -0700
committerOle Reifschneider <tranquility@gentoo.org>2016-08-22 21:14:55 +0200
commit84455d06da11be8b1b12cc4227ebe0c4aaf7d662 (patch)
treec7396757e52032a96937ab049282e8bb60b6bbd8
parentx11-misc/xnots: Fix building with sys-devel/gcc-5* (bug #575376). (diff)
downloadgentoo-84455d06da11be8b1b12cc4227ebe0c4aaf7d662.tar.gz
gentoo-84455d06da11be8b1b12cc4227ebe0c4aaf7d662.tar.bz2
gentoo-84455d06da11be8b1b12cc4227ebe0c4aaf7d662.zip
dev-ruby/msgpack: Bump to 1.0.0
Signed-off-by: Ole Reifschneider <tranquility@gentoo.org>
-rw-r--r--dev-ruby/msgpack/Manifest1
-rw-r--r--dev-ruby/msgpack/msgpack-1.0.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest
index 8e7692e753b..f928e44e5ea 100644
--- a/dev-ruby/msgpack/Manifest
+++ b/dev-ruby/msgpack/Manifest
@@ -1,3 +1,4 @@
DIST msgpack-0.7.4.gem 74752 SHA256 c4fa8f8d727877b3dc9f90dfe0fff0b012df5d49e6498c5a33a4ec03f9e2be72 SHA512 4e78df4abe0f9c91a67f66108ee4e8420651d8d23a6ec7de9241138fd1065ce723ad68648c0bd4572801f800363e7f1f34362312d8f861857ffcdfc7accd950a WHIRLPOOL e08f686772af7e549e3997dfa382c8f94b97fe40ce1de3cb6fbfda01286d1e55bc80854c82869e0a0d54125a855e3761ede25225e9c8b69f5e732581bf23593e
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
diff --git a/dev-ruby/msgpack/msgpack-1.0.0.ebuild b/dev-ruby/msgpack/msgpack-1.0.0.ebuild
new file mode 100644
index 00000000000..fc0ae75af73
--- /dev/null
+++ b/dev-ruby/msgpack/msgpack-1.0.0.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."
+}