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 7FDB613835B for ; Sat, 13 Feb 2021 07:55:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B88C3E087F; Sat, 13 Feb 2021 07:55:29 +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 A0BF6E087F for ; Sat, 13 Feb 2021 07:55:29 +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 9FC78341101 for ; Sat, 13 Feb 2021 07:55:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 846234CA for ; Sat, 13 Feb 2021 07:55:25 +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: <1613202814.a58727a1aae96bd0caa52dde9748cedf28ceca5e.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nio4r/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/nio4r/nio4r-2.5.5-r1.ebuild X-VCS-Directories: dev-ruby/nio4r/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: a58727a1aae96bd0caa52dde9748cedf28ceca5e X-VCS-Branch: master Date: Sat, 13 Feb 2021 07:55:25 +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: c3983abd-97f0-4f2a-8a28-664aa1e58069 X-Archives-Hash: 1c056ee8b57edeef0d787a3bb400a6f1 commit: a58727a1aae96bd0caa52dde9748cedf28ceca5e Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 13 06:43:33 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 13 07:53:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58727a1 dev-ruby/nio4r: fix extension installation Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/nio4r/nio4r-2.5.5-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-ruby/nio4r/nio4r-2.5.5-r1.ebuild b/dev-ruby/nio4r/nio4r-2.5.5-r1.ebuild new file mode 100644 index 00000000000..65863232794 --- /dev/null +++ b/dev-ruby/nio4r/nio4r-2.5.5-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/socketry/nio4r" + +LICENSE="MIT || ( BSD GPL-2 )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Note that nio4r bundles a patched copy of libev, and without these +# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 + +ruby_add_bdepend "test? ( dev-ruby/rspec-retry )" + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' -e '1irequire "openssl"' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +}