From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ED4A3138331 for ; Sat, 3 Mar 2018 06:41:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02742E0903; Sat, 3 Mar 2018 06:41:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2DBEE0903 for ; Sat, 3 Mar 2018 06:41:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 316C9335C2C for ; Sat, 3 Mar 2018 06:41:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24D6221D for ; Sat, 3 Mar 2018 06:41:04 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1520058974.83512a7dadf61038b45705eeddb81df1bf2b887b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/msgpack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/msgpack/Manifest dev-ruby/msgpack/msgpack-1.2.4.ebuild X-VCS-Directories: dev-ruby/msgpack/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 83512a7dadf61038b45705eeddb81df1bf2b887b X-VCS-Branch: master Date: Sat, 3 Mar 2018 06:41:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: aaf0437b-f1d5-4c3f-8a78-c8523eeb1ac3 X-Archives-Hash: ac89987fa5e70ec610b905368e4dd7c8 commit: 83512a7dadf61038b45705eeddb81df1bf2b887b Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 3 06:36:14 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 3 06:36:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83512a7d dev-ruby/msgpack: add 1.2.4 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-ruby/msgpack/Manifest | 1 + dev-ruby/msgpack/msgpack-1.2.4.ebuild | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index 9fb3da19dbf..6b613a49324 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1 +1,2 @@ DIST msgpack-1.2.2.gem 78848 BLAKE2B b3ae75ebd6159a78c6a31ecc45bfe0474d5fe91672b6c9dfe96a561b07ebb5bc9ebf91477bc370fba199c5a8c187faa4995a90aa0209b8af81e6d06cd2e58b7b SHA512 7f7fa3350485c3888a42a78fc53f91029208bc6ee483b4c1a082dfa515d435295b6d2f57e9c4cc3f7805349e4a21854585997075d2535c0343af4ae1ec66a802 +DIST msgpack-1.2.4.gem 78848 BLAKE2B 5e4c0f75e051bd1da800257600a44a712a18430b77b1c6ceebf1b6452bda0169fa7fdbd3dc5230b76da226965b32e1581ab3c27be8416c00bd90e827b22bce51 SHA512 dc2267a8c2f673ce6c8910e09841ec01bd84f06baf68b9c9ba2c0acb905d197ca82f481748ceb7edb7dff5359c4d983f381882923a1d935bd5bc536bd2fa60be diff --git a/dev-ruby/msgpack/msgpack-1.2.4.ebuild b/dev-ruby/msgpack/msgpack-1.2.4.ebuild new file mode 100644 index 00000000000..ea2b33ee6ac --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.2.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +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="https://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~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." + + # 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." +}