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 04621138334 for ; Tue, 7 May 2019 05:16:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 676E3E08AA; Tue, 7 May 2019 05:16:16 +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 E10C5E0885 for ; Tue, 7 May 2019 05:16:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 F20BA3439C6 for ; Tue, 7 May 2019 05:16:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5CB3549 for ; Tue, 7 May 2019 05:16:11 +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: <1557205845.f26d8f0bc1617fc90617d301bcae5b90246ebdd4.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.10.ebuild X-VCS-Directories: dev-ruby/msgpack/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f26d8f0bc1617fc90617d301bcae5b90246ebdd4 X-VCS-Branch: master Date: Tue, 7 May 2019 05:16:11 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d74a9864-9f89-48a6-a0e5-b4079d91d7c2 X-Archives-Hash: 3b57055443eae7517ef4f050e56e7e9b commit: f26d8f0bc1617fc90617d301bcae5b90246ebdd4 Author: Hans de Graaff gentoo org> AuthorDate: Tue May 7 05:10:45 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue May 7 05:10:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26d8f0b dev-ruby/msgpack: add 1.2.10 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/msgpack/Manifest | 1 + dev-ruby/msgpack/msgpack-1.2.10.ebuild | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index 37a593b274a..d8fba9e2528 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1,2 +1,3 @@ +DIST msgpack-1.2.10.gem 79872 BLAKE2B 878d4bd0c1b9010389aa59358bbc70d2e771f5fa167d2eb659583cb116e94ed5c00578d89be96dd80dd458616336a2a1649ea9c7826cefe81d78ee0c2ac24299 SHA512 49186e0cbc375aaaa3174a488d2d47afc46d0618b0b3c3c7d60485672ba6e918e0607b18d9d7cfa9106478fb5250811fca4675dc482d4cf8e6c510acdcddeeb1 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.10.ebuild b/dev-ruby/msgpack/msgpack-1.2.10.ebuild new file mode 100644 index 00000000000..2fb63620569 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.2.10.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." +}