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 2725C139694 for ; Tue, 21 Mar 2017 06:18:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 335E921C080; Tue, 21 Mar 2017 06:18:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1BEF21C080 for ; Tue, 21 Mar 2017 06:18:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99547340A23 for ; Tue, 21 Mar 2017 06:18:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 407506F83 for ; Tue, 21 Mar 2017 06:18:31 +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: <1490076861.53974ee5f3b9bcfd1067e89bb3abcfefe4040b79.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.13.0.ebuild X-VCS-Directories: dev-ruby/capybara/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 53974ee5f3b9bcfd1067e89bb3abcfefe4040b79 X-VCS-Branch: master Date: Tue, 21 Mar 2017 06:18:31 +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: 76ea2fab-d91c-41c1-87fe-f74753e2522a X-Archives-Hash: 1dd290eb3317603325ef345fdbca12c4 commit: 53974ee5f3b9bcfd1067e89bb3abcfefe4040b79 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 21 06:14:21 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 21 06:14:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53974ee5 dev-ruby/capybara: add 2.13.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/capybara/Manifest | 1 + dev-ruby/capybara/capybara-2.13.0.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index 46c354ab3f5..df4b5a22927 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -2,3 +2,4 @@ DIST capybara-1.1.4.gem 72192 SHA256 33073d7e4920a3e74c61ec46d1afe655eb0f3361187 DIST capybara-2.10.1.gem 242688 SHA256 f6ad4dc40a84f2d90b8625816f25cd53bf15e34b0af02754aa6dc736ed58aab7 SHA512 dcb38b7350dfcee0a6d38711eb80e661fe783c0d04adc41e8b156029189e8a9e12beac0b874886209399c1fb12a70a1f0e1be413715d73b908502cfbbd16c758 WHIRLPOOL f3aba8e2261bdd1997287daedc035fcdb832b5f61881fc525db302679b351043be41322f7e61a6d2893852813e337a841dc8b8c63cba968fe166eb8af137119a DIST capybara-2.12.0.gem 252928 SHA256 492cfcfa6763169ccb97655eef3fdb4345f9386ca48ab6ee7919474eac12d834 SHA512 501f6cb16d6065193078ba3e42d84f9c8cdbaf891c6f3bdf0fb6ad9b919f6d138aa0b2ac8d1a882d01004e8140c7e93eac4581aae15956e0ba74dec82b80b46a WHIRLPOOL c3e7ec18dd4ef1feebb359ce9762de289eae9b41d776dfa13e76cbca66377735eea7230e75cae7b8bd35d16c482cc6d27518bc015dc19509b789ffbc4c1886bd DIST capybara-2.12.1.gem 252928 SHA256 ac950f6f4645e31b9bbaf0c2b9524556b84ad0ff58b517756dca38baf5f6657c SHA512 8b6225d3b2ec050d3188efd7c3ef6ae7f058f197c80aaf293ed7991a8763a22815d772a759919f62eb8b9d0386ea402667075c9cd2a5613aaa5bc7dc3c1af179 WHIRLPOOL bc470164f8b3f19164bdd825801d8ec42cf53924fee17856b5d65c987f832a4dedf831d9d3f0e07ee6dea727e961c5f998d404ec8a416d3dadf0042292b08ba8 +DIST capybara-2.13.0.gem 257024 SHA256 09d574e170b8042914c08630382ed784694c1b2bd1c04af482fbfd71cd56994d SHA512 35e096fa4aed8fea1456d3271bb0dbeb14215ab856a52071243e76d27aaa25f34b256edf8e391cfe024368555aeb2b68dafc896269d231c01e58c247e7a10ac2 WHIRLPOOL 723a4090cc4a438c45c23a491967043e7a2a9a996df6097b88ce7dd7eb69697f19fdbaa63d4b12c7dea317dbd90456c5ae8dde89899d1888fe0633675daa231f diff --git a/dev-ruby/capybara/capybara-2.13.0.ebuild b/dev-ruby/capybara/capybara-2.13.0.ebuild new file mode 100644 index 00000000000..7b655b55223 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.13.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +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:3 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 dev-ruby/sinatra )" + +ruby_add_rdepend " + dev-ruby/addressable + >=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' -e '1igem "sinatra"' 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 + + # Avoid spec that requires unpackaged geckodriver + sed -i -e '/register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die +} + +each_ruby_test() { + VIRTUALX_COMMAND=${RUBY} + virtualmake -Ilib -S rspec-3 spec || die "Tests failed." +}