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 A2029138335 for ; Thu, 6 Sep 2018 05:32:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71E5EE07B3; Thu, 6 Sep 2018 05:32:13 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 359A8E07B3 for ; Thu, 6 Sep 2018 05:32:12 +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 1B609335CC6 for ; Thu, 6 Sep 2018 05:32:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CED293A7 for ; Thu, 6 Sep 2018 05:32:08 +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: <1536210594.2c0f78d843d59c994b749443443774dcbf0dadfd.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-3.7.1.ebuild X-VCS-Directories: dev-ruby/capybara/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2c0f78d843d59c994b749443443774dcbf0dadfd X-VCS-Branch: master Date: Thu, 6 Sep 2018 05:32:08 +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: 1d9b3ac1-0db5-4442-82a9-2222dc961a9d X-Archives-Hash: 5b7ea08493e13948ab6ff31301037026 commit: 2c0f78d843d59c994b749443443774dcbf0dadfd Author: Hans de Graaff gentoo org> AuthorDate: Thu Sep 6 05:09:54 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Sep 6 05:09:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0f78d8 dev-ruby/capybara: add 3.7.1 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/capybara/Manifest | 1 + dev-ruby/capybara/capybara-3.7.1.ebuild | 56 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index da0cc17c9fe..fad1498b607 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -5,3 +5,4 @@ DIST capybara-3.4.2.gem 292864 BLAKE2B f04bef4540df60eaaeab2cdf59577962493da34ad DIST capybara-3.5.1.gem 294400 BLAKE2B 413281f52305c47cad34b6200e534798f05cf8a4257ca0f396dcb5c7f4d689d1c34463a99644ce8861cb12fe921918c6ddc503ffa3c4f00b04b6570ce1096dfb SHA512 c42c4492865f70fad30f9c554dfd4a5e435102d58c3934392d9e692638ace50dd7f3301628e45eee0ceb0e94f91b051341bdc9eb9a3f498aec7a477a866bc76c DIST capybara-3.6.0.gem 296448 BLAKE2B 4054aaac6b6e0d5f1f0c1adee1951dcac7fcb3b2061dfe9de261e6c8bb749d6c88eb2c5a635b683e9a02719870435d52546701f4f21f722068836d4acd78f3eb SHA512 d99e9aab306955e01c08f26e7e8e042019b30d97c106ce6e33c96d7277670b81a143312c06e89c2f6c5f959af461d219c213c3660e895bec1e8cfcae030728b4 DIST capybara-3.7.0.gem 299008 BLAKE2B 79f08d71085e6fd42986da5cc69e9f2df21ad65eaad7bbc2d450815c5cd3f6ad38889739ddab7e2fa92548bbe4c23940f46e99a5633b3a6fe80988bd417d55ff SHA512 0c40bdaad6423fa86d1e41bc5c2e8ec8bdb90326631f464dd4ed759a28b9c6e03fd4f5292e11f05cf478c0a5ce19b2df628a259861fb80f94fde367d4f4dacde +DIST capybara-3.7.1.gem 299008 BLAKE2B 0f90ee7266a360c0430e55a60f354f2cc079ce3ffa318a12eef1c8faf9637a1d0678f049fc1a921657ca557d99a30bad54ff51b00645eedbc4ecf9567f9d6a20 SHA512 6d5546607652439f7c487e60859803980e90a511acf43a3bb1b197d2f27a9edf50f95a77d4de2fd40570373c03a25b4a0450bc84d509abd264b926acdc1132f1 diff --git a/dev-ruby/capybara/capybara-3.7.1.ebuild b/dev-ruby/capybara/capybara-3.7.1.ebuild new file mode 100644 index 00000000000..da6c2de9e77 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.7.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +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="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( www-client/firefox )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/xpath-3.1:3" + +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 '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed." +}