diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-08-05 07:05:17 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-08-05 07:14:32 +0200 |
commit | 7487082decac7319d7942e02be0f1499392cdcef (patch) | |
tree | 132b807716a1b9fb818e8181637b2856fb83edc7 /dev-ruby/msgpack | |
parent | profiles/arch/powerpc/package.use.mask: sys-apps/rng-tools -jitterentropy (diff) | |
download | gentoo-7487082decac7319d7942e02be0f1499392cdcef.tar.gz gentoo-7487082decac7319d7942e02be0f1499392cdcef.tar.bz2 gentoo-7487082decac7319d7942e02be0f1499392cdcef.zip |
dev-ruby/msgpack: add 1.3.1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r-- | dev-ruby/msgpack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/msgpack/msgpack-1.3.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index 5b36b82e5f3f..1544b3643f65 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -2,3 +2,4 @@ DIST msgpack-1.2.10.gem 79872 BLAKE2B 878d4bd0c1b9010389aa59358bbc70d2e771f5fa16 DIST msgpack-1.2.7.gem 79360 BLAKE2B edd9573d9c8da035b853a77acd55b9243bb9001323d570e47b7dce667ffb08223d74396b313ec392769a39096626ea7388a7369b7d4220cd96e53a6e96f7bcac SHA512 086594a5f7202ae58f7681d7f58cea02560d68e4a3666e3bcead71dee0a8d0f7c56ac8a42e9ac2f7eea44f0d41207ae02ecc20e7bc0fea24af8a7965fdaceceb DIST msgpack-1.2.8.gem 79872 BLAKE2B 199bc1efd3a4dfc955ad05114d9d1753ae030806e53ef217051464be173f0d117f036a4f650e5ec20d1e385c47cbb036910ed5b9c40b8a5fa5c46dcc440e5e43 SHA512 2434593124743221fe64ad0d738d96a131d1b2883326c2d4147cbfff46a2b508faa47465071bb4527d42e5c4a3d1a3c590489221a772c68f40d8be4ea31dd7b2 DIST msgpack-1.3.0.gem 82432 BLAKE2B b6b4e6a3f3cb204b2d4997cefb5aa5f307a6c3db332663f7e89360d68e2d5dd9211316d6532141c0276becb2e5d227aad4943976953a285cbd691c31d8c5387b SHA512 aeb9376c7e2029812b7e6be7732c419792e79a2bf1ebef6b2feebbfacfefaa7063658fee7b7a9b8558f6a04b6c10fcdc325aa27d9c1b856db7af5b15cccb06a5 +DIST msgpack-1.3.1.gem 82432 BLAKE2B 661c2068b26db494bd068e223c1969d59d64478d5c05832bb6b6fcb9f14be7a3f4953b4a62ad23b622b2d06312bebe7d9ee5fdd173b23fe94f2228d6634aef0c SHA512 79a71725e337c37417b7b02d77a25d28c742daa539f7247fc50b7e146311d491a6a20b86aa2bdd0eae0c1dffab3ee35a1a7a775f7f5c6688be09ecd2149c187a diff --git a/dev-ruby/msgpack/msgpack-1.3.1.ebuild b/dev-ruby/msgpack/msgpack-1.3.1.ebuild new file mode 100644 index 000000000000..25f1ba919b78 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="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." +} |