summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-03-11 07:17:04 +0100
committerHans de Graaff <graaff@gentoo.org>2019-03-11 07:25:46 +0100
commit889034e135b17ffe1fec827e8e5c372c4e93c568 (patch)
treefee68dee4a8c9f108660412d7ee0d171225a811a /dev-ruby/msgpack
parentdev-ruby/http: add 4.1.0 (diff)
downloadgentoo-889034e135b17ffe1fec827e8e5c372c4e93c568.tar.gz
gentoo-889034e135b17ffe1fec827e8e5c372c4e93c568.tar.bz2
gentoo-889034e135b17ffe1fec827e8e5c372c4e93c568.zip
dev-ruby/msgpack: add 1.2.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r--dev-ruby/msgpack/Manifest1
-rw-r--r--dev-ruby/msgpack/msgpack-1.2.8.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest
index 68c1caf6b88e..741d86783203 100644
--- a/dev-ruby/msgpack/Manifest
+++ b/dev-ruby/msgpack/Manifest
@@ -1,3 +1,4 @@
DIST msgpack-1.2.4.gem 78848 BLAKE2B 5e4c0f75e051bd1da800257600a44a712a18430b77b1c6ceebf1b6452bda0169fa7fdbd3dc5230b76da226965b32e1581ab3c27be8416c00bd90e827b22bce51 SHA512 dc2267a8c2f673ce6c8910e09841ec01bd84f06baf68b9c9ba2c0acb905d197ca82f481748ceb7edb7dff5359c4d983f381882923a1d935bd5bc536bd2fa60be
DIST msgpack-1.2.6.gem 78848 BLAKE2B 06d0125f773d3fb8a15808e84a4661f51b0bf4c3951922697ae1bcb658eecc8e81eeb99ee10e23722b878a4be48c88ce8dc439fadf9f1a59f22bb5a1fdf93db7 SHA512 cbd28125826a2cb2db1fd6869443671da3093b8c834949741257abe69d763d1296f97d155f9a0d2bee53424b9a68c2b78ff8e8b00bb5f95dc1e6a34ad51981d1
DIST msgpack-1.2.7.gem 79360 BLAKE2B edd9573d9c8da035b853a77acd55b9243bb9001323d570e47b7dce667ffb08223d74396b313ec392769a39096626ea7388a7369b7d4220cd96e53a6e96f7bcac SHA512 086594a5f7202ae58f7681d7f58cea02560d68e4a3666e3bcead71dee0a8d0f7c56ac8a42e9ac2f7eea44f0d41207ae02ecc20e7bc0fea24af8a7965fdaceceb
+DIST msgpack-1.2.8.gem 79872 BLAKE2B 199bc1efd3a4dfc955ad05114d9d1753ae030806e53ef217051464be173f0d117f036a4f650e5ec20d1e385c47cbb036910ed5b9c40b8a5fa5c46dcc440e5e43 SHA512 2434593124743221fe64ad0d738d96a131d1b2883326c2d4147cbfff46a2b508faa47465071bb4527d42e5c4a3d1a3c590489221a772c68f40d8be4ea31dd7b2
diff --git a/dev-ruby/msgpack/msgpack-1.2.8.ebuild b/dev-ruby/msgpack/msgpack-1.2.8.ebuild
new file mode 100644
index 000000000000..2fb63620569b
--- /dev/null
+++ b/dev-ruby/msgpack/msgpack-1.2.8.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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="https://msgpack.org/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~x86-fbsd"
+IUSE="doc"
+
+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."
+}