diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-10-25 06:49:42 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-10-25 09:30:43 +0100 |
commit | e478e3f75ff66a23cdce1e5358fbc2178ec09fa3 (patch) | |
tree | dbf87e79253aa0087f484b70b458df0e40bf7bd1 /dev-ruby | |
parent | dev-ruby/msgpack: cleanup (diff) | |
download | gentoo-e478e3f75ff66a23cdce1e5358fbc2178ec09fa3.tar.gz gentoo-e478e3f75ff66a23cdce1e5358fbc2178ec09fa3.tar.bz2 gentoo-e478e3f75ff66a23cdce1e5358fbc2178ec09fa3.zip |
dev-ruby/msgpack: add 0.7.0
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/msgpack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/msgpack/msgpack-0.7.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index 5d0b7de9453f..d49399b38cc7 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1 +1,2 @@ DIST msgpack-0.6.2.gem 59904 SHA256 f59a903e239f7caa7c714042171e104029e575cd62415f1927407fd042b478a1 SHA512 7b3a697ee69df19dddcb0de835d4a6910a249bc2747fbeba1ba8ef9d485cdfaf0eafee52fbc5bf00c1c386f25d324109b46160f7ca56643feea1ddc9fc6605e9 WHIRLPOOL 516745a4cc0e2a0559b9ed4948e4db53fd4712a619b7ff9750d9d11e49e6e00b4a85242a30caf30f8bfadc438b70ed327a51728b051bf54a273b2120ed72b833 +DIST msgpack-0.7.0.gem 72704 SHA256 4c387745fac439fa77ec2e0f1d343f0b4c35d611e14ac7e205eece7c2aa45658 SHA512 f2c03389110329eb22fe7c0eea8e686a0cde0a9dcfad8d7ad57b126f6d04aa04c6860537edbb7a4b42de757900ced61eb68932665b24d1d96f1a4a44c46316eb WHIRLPOOL c087b2c5d15d30f8693e0e07d3cfa49c7e8a6d528cecf42f2019721988447e1caed7a180f44bdc83d4d578561ce2ea829e319ec0826f295cc20c1a3d79777389 diff --git a/dev-ruby/msgpack/msgpack-0.7.0.ebuild b/dev-ruby/msgpack/msgpack-0.7.0.ebuild new file mode 100644 index 000000000000..1f72c65b9e5c --- /dev/null +++ b/dev-ruby/msgpack/msgpack-0.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +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 ~ppc ~ppc64 ~x86 ~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." +} |