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 D67171396D9 for ; Sat, 28 Oct 2017 16:23:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DF9D2BC0F4; Sat, 28 Oct 2017 16:23:32 +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 1DC8E2BC0F4 for ; Sat, 28 Oct 2017 16:23:32 +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 19A4E341301 for ; Sat, 28 Oct 2017 16:23:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF40A41F for ; Sat, 28 Oct 2017 16:23:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1509207573.7064ce8445708517ce780eeec77b98c0278839e1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/msgpack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/msgpack/msgpack-1.1.0-r1.ebuild X-VCS-Directories: dev-ruby/msgpack/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7064ce8445708517ce780eeec77b98c0278839e1 X-VCS-Branch: master Date: Sat, 28 Oct 2017 16:23:29 +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: d683b048-dac9-458a-a105-63ea7c3a6f2d X-Archives-Hash: 1aa2e794a13a96ef2d231ef36e5315c7 commit: 7064ce8445708517ce780eeec77b98c0278839e1 Author: Aric Belsito gmail com> AuthorDate: Sat Sep 9 23:25:28 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Oct 28 16:19:33 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7064ce84 dev-ruby/msgpack: add ruby24 to USE_RUBY drop ruby21 from USE_RUBY Closes: https://github.com/gentoo/gentoo/pull/5676 dev-ruby/msgpack/msgpack-1.1.0-r1.ebuild | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-ruby/msgpack/msgpack-1.1.0-r1.ebuild b/dev-ruby/msgpack/msgpack-1.1.0-r1.ebuild new file mode 100644 index 00000000000..dd26691671f --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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." +}