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 48C581384C0 for ; Sat, 29 Aug 2015 06:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76FBC1430F; Sat, 29 Aug 2015 06:25:17 +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 06185142EA for ; Sat, 29 Aug 2015 06:25:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CC9B340B02 for ; Sat, 29 Aug 2015 06:25:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A6B017F for ; Sat, 29 Aug 2015 06:25:13 +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: <1440829508.8feb8011c48b65423d7ac61c0ce7886eb8ad02c6.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/capybara/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/capybara/Manifest dev-ruby/capybara/capybara-2.5.0.ebuild X-VCS-Directories: dev-ruby/capybara/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8feb8011c48b65423d7ac61c0ce7886eb8ad02c6 X-VCS-Branch: master Date: Sat, 29 Aug 2015 06:25:13 +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: d28a1090-b968-48a6-bfff-1ffb73c7aad4 X-Archives-Hash: 67025730c49d83f41428000dcef34817 commit: 8feb8011c48b65423d7ac61c0ce7886eb8ad02c6 Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 29 06:24:34 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Aug 29 06:25:08 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8feb8011 dev-ruby/capybara: version bump Package-Manager: portage-2.2.20.1 dev-ruby/capybara/Manifest | 1 + dev-ruby/capybara/capybara-2.5.0.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index e6ddf37..97e4cb1 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,3 +1,4 @@ DIST capybara-1.1.4.gem 72192 SHA256 33073d7e4920a3e74c61ec46d1afe655eb0f3361187113c5e146df498e4611ed SHA512 102738031281d0fabd645fa6d941cf0a9ddd56f90d53d7cc1c8a7b03a37b6af8f4cddd178e6fc07d6751a539a5039cf20502eabdd49e8001793601bb312b47a3 WHIRLPOOL 81eff318acfdc0806c9f8d4e212068edd57694d44db1e29bbefaa7a4db162f3a2354374d6ab97ad7c2372ff9e6f6bb864ed483050facad5c298c2223a39c63cc DIST capybara-2.2.1.gem 218112 SHA256 0081ff6eaa33f4b5b0427db7ef0ca0af015a9bf6606126f41016db6feb58cdeb SHA512 e060706ef408f4ba2494fe45020b587914c5e1ab42717450be1818ab16782fc6e5eb49dd559ac00297cf83b267d4cec9c9766c19b0967573c6dd54e976a0fd59 WHIRLPOOL 2d58952539170ab298e80503431750feff40e4287edfefd4c0a564d9cb4abb8b0eb0833b28ebe467063be754d4d22bfddb868d4b605e992fd017a3fc8f432571 DIST capybara-2.4.4.gem 232448 SHA256 8e28357fbdbd8df7d8c56d3d72fa8a5ef3a5a71b8abfbe9c1c77394b62279384 SHA512 344c09e4ba82709a216bbab96ba8c5e5965ddedef63bdaef3e647fb8de024a59d0043cf54420336bc8a4bd3ad186cb7292bcba5fa8fdc808a15ab6e1ee6d2793 WHIRLPOOL 0faf9b9d2b90b6e59ba9fbc080404727d069cad9b802ab0d8b2ba4eda311af203383d72cb701ed9385b42e973c3a1bfc68dab7f01885e7180298e9bbec800b43 +DIST capybara-2.5.0.gem 240640 SHA256 755c32b0ba828b2671ca63605cce4e4c3b494b16e91bf4f99e445975488ebc61 SHA512 30431cc78c16a26f850ef1a1d60af4c9934ce89ffa3ed9c305af903640a66dc78e831614c22ed7725bf23d70e5de6b50b6c1d23cc3e33c815e73a2f1117dc13c WHIRLPOOL cb1dded65c7a789a46df0a86fbaf1f3104a4ece86133b8003c8c6ac18b8d6ed4d86f50310fe7d5a4d523393258c9bbf636c088d00f2a9d8f751390ed08d02bca diff --git a/dev-ruby/capybara/capybara-2.5.0.ebuild b/dev-ruby/capybara/capybara-2.5.0.ebuild new file mode 100644 index 0000000..301d903 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="2" +IUSE="test" + +DEPEND="${DEPEND} test? ( www-client/firefox )" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 )" + +ruby_add_rdepend " + >=dev-ruby/mime-types-1.16:* + >=dev-ruby/nokogiri-1.3.3 + >=dev-ruby/rack-1.0.0:* + >=dev-ruby/rack-test-0.5.4 + >=dev-ruby/xpath-2.0.0:2" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die +} + +each_ruby_test() { + VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec" + virtualmake || die "Tests failed." +}