diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-04-06 07:08:04 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-04-06 07:08:04 +0200 |
commit | 9d41f0abd720e08b905b578ffd10b7d3456b765c (patch) | |
tree | e6a10d7479cbeac0e3f4a3690c453396efc4a73d /dev-ruby/msgpack | |
parent | dev-ruby/msgpack: cleanup (diff) | |
download | gentoo-9d41f0abd720e08b905b578ffd10b7d3456b765c.tar.gz gentoo-9d41f0abd720e08b905b578ffd10b7d3456b765c.tar.bz2 gentoo-9d41f0abd720e08b905b578ffd10b7d3456b765c.zip |
dev-ruby/msgpack: add 0.7.5
Drop ppc, x86 keywords due to bug 562452
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/msgpack')
-rw-r--r-- | dev-ruby/msgpack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/msgpack/msgpack-0.7.5.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index d1298e4325cd..b752a4f60294 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ruby/msgpack/msgpack-0.7.5.ebuild b/dev-ruby/msgpack/msgpack-0.7.5.ebuild new file mode 100644 index 000000000000..268ddc80aac3 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-0.7.5.ebuild @@ -0,0 +1,41 @@ +# 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." +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} |