summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-01-14 09:12:37 +0100
committerHans de Graaff <graaff@gentoo.org>2018-01-14 09:15:04 +0100
commit936d0e183de817dfd48ac4d45e60cf643aaa336e (patch)
treec80a951dbabbf775043a8c4f493452156f29e2be
parentwww-servers/puma: amd64 stable (diff)
downloadgentoo-936d0e183de817dfd48ac4d45e60cf643aaa336e.tar.gz
gentoo-936d0e183de817dfd48ac4d45e60cf643aaa336e.tar.bz2
gentoo-936d0e183de817dfd48ac4d45e60cf643aaa336e.zip
dev-ruby/capybara: cleanup
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r--dev-ruby/capybara/Manifest1
-rw-r--r--dev-ruby/capybara/capybara-2.15.4.ebuild50
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
index 9c2ed08ed6c9..4b5910c21ac6 100644
--- a/dev-ruby/capybara/Manifest
+++ b/dev-ruby/capybara/Manifest
@@ -1,3 +1,2 @@
DIST capybara-2.14.4.gem 265728 BLAKE2B 7b61fc7424b5e5aeec50e0695ef7719d23b594d3fe233c04443c37a5f06b0f1e7c440135c50225813d9da954c2efa0563488668202e09a4e3877f28708f9624e SHA512 d3ebbd8d96e4d2026327b1c70ff723225ce052fff510a909111b8cc7e02b12fec9e00acddc0bc2565371cc5eb0b590abef43d42a99c3938a929ea25930fdefd1
-DIST capybara-2.15.4.gem 271360 BLAKE2B 67a3abe0b0f07ad1af0e894723e1ad2a0d0e2dce9903472e6369ddee8edcb54b0fde833e4c31c18625fc329d85ff39df029636e62821feac138c19e8cdb97788 SHA512 405f5d9aeafe98e8aafe26d1f563c42ebe737b88efb9a52fbd38aec6b2418e1d7701368c75b6ea4946bf4eee0c1471e9af7be63dda3238ac5c4129fec8e3f999
DIST capybara-2.16.1.gem 273408 BLAKE2B 1d1a68427fcfed9a8153e409e17fc043dd8d926c3ebbab3560ae12454f3010c8b4569348c231e807d993263940b703dc5380a235da438eb5ac2f9d0bd3a66309 SHA512 921e05111278b7bff93fe805a29e7b2e0e78b36510db5dff1189e34c3cdeada52504a8e06534238e578c32e8e0efa8d99a0ffc8516d94e60c06e7fd2c4ecb174
diff --git a/dev-ruby/capybara/capybara-2.15.4.ebuild b/dev-ruby/capybara/capybara-2.15.4.ebuild
deleted file mode 100644
index e978384153dc..000000000000
--- a/dev-ruby/capybara/capybara-2.15.4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24"
-
-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"
-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/mini_mime-0.1.3
- >=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
-
- # 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."
-}