From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E6F751384B4 for ; Thu, 24 Dec 2015 06:37:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83D4F21C006; Thu, 24 Dec 2015 06:37:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD53121C026 for ; Thu, 24 Dec 2015 06:37:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C389340821 for ; Thu, 24 Dec 2015 06:37:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72D3BC89 for ; Thu, 24 Dec 2015 06:37:46 +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: <1450936618.b11268917cf370758fc2b6226d905d64950b8a5c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nio4r/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/nio4r/Manifest dev-ruby/nio4r/nio4r-1.2.0.ebuild X-VCS-Directories: dev-ruby/nio4r/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b11268917cf370758fc2b6226d905d64950b8a5c X-VCS-Branch: master Date: Thu, 24 Dec 2015 06:37:46 +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: 1e64d196-6e71-4b96-b487-41a9f504f787 X-Archives-Hash: 4bf5269f14efc8b6456b13396e3ac0f0 commit: b11268917cf370758fc2b6226d905d64950b8a5c Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 24 05:56:58 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 24 05:56:58 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1126891 dev-ruby/nio4r: add 1.2.0 Package-Manager: portage-2.2.24 dev-ruby/nio4r/Manifest | 1 + dev-ruby/nio4r/nio4r-1.2.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest index af7421e..e1d7b0c 100644 --- a/dev-ruby/nio4r/Manifest +++ b/dev-ruby/nio4r/Manifest @@ -1 +1,2 @@ DIST nio4r-1.1.1.gem 91648 SHA256 5d86fd9f8872982fd4fa623bdaafe45efe21353b64fd09632e486f1b4d40959e SHA512 3163fd7efe05200ff88d284e932244f9a8f2e3b0145c6e732cdf8cd253ca334e1ade5b7d9c61a2d69ce193fa86501f1756ab3602181754426c7a268996537ff6 WHIRLPOOL 29501589d7eac09717c898dfdf80107653e68dcf5e84a9f96d1609c377d371447f17c8119313de99e4a9b3d0d984dbf44ab8ce3cdf3358ce99667266aabbd8a9 +DIST nio4r-1.2.0.gem 93696 SHA256 3427522115c07a9326c5859ca3cb261d0d7075f4289e27dd3982806902de6cbc SHA512 6d51195658f32873ce7698ccf30b1b8852d1e5cd4fdaba46533dbb56a3a999df0d22badf7504193d5f8458b362f147f3a9768b5d981b2c696246e1f21c6f1579 WHIRLPOOL ce492b96af9ae27e90f501a900097ba75209a2afc3d7e18737ce3c01b3238fec7647a89fb453c19ecc83416791d2b81efd2004f4d7f8265f63d48957f9d190be diff --git a/dev-ruby/nio4r/nio4r-1.2.0.ebuild b/dev-ruby/nio4r/nio4r-1.2.0.ebuild new file mode 100644 index 0000000..d7f368b --- /dev/null +++ b/dev-ruby/nio4r/nio4r-1.2.0.ebuild @@ -0,0 +1,39 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/celluloid/nio4r" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-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 + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib/ || die +}