Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/capybara/
Date: Sun, 13 May 2018 04:46:55
Message-Id: 1526186793.b32a2dd8c7af565af7d96fe1d694c241af22f580.graaff@gentoo
1 commit: b32a2dd8c7af565af7d96fe1d694c241af22f580
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 13 04:46:33 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 13 04:46:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32a2dd8
7
8 dev-ruby/capybara: cleanup
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-ruby/capybara/Manifest | 2 --
13 dev-ruby/capybara/capybara-2.14.4-r1.ebuild | 50 -----------------------------
14 dev-ruby/capybara/capybara-3.0.2.ebuild | 50 -----------------------------
15 3 files changed, 102 deletions(-)
16
17 diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
18 index c96a582e18f..1a334394f76 100644
19 --- a/dev-ruby/capybara/Manifest
20 +++ b/dev-ruby/capybara/Manifest
21 @@ -1,6 +1,4 @@
22 -DIST capybara-2.14.4.gem 265728 BLAKE2B 7b61fc7424b5e5aeec50e0695ef7719d23b594d3fe233c04443c37a5f06b0f1e7c440135c50225813d9da954c2efa0563488668202e09a4e3877f28708f9624e SHA512 d3ebbd8d96e4d2026327b1c70ff723225ce052fff510a909111b8cc7e02b12fec9e00acddc0bc2565371cc5eb0b590abef43d42a99c3938a929ea25930fdefd1
23 DIST capybara-2.16.1.gem 273408 BLAKE2B 1d1a68427fcfed9a8153e409e17fc043dd8d926c3ebbab3560ae12454f3010c8b4569348c231e807d993263940b703dc5380a235da438eb5ac2f9d0bd3a66309 SHA512 921e05111278b7bff93fe805a29e7b2e0e78b36510db5dff1189e34c3cdeada52504a8e06534238e578c32e8e0efa8d99a0ffc8516d94e60c06e7fd2c4ecb174
24 DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933
25 -DIST capybara-3.0.2.gem 275456 BLAKE2B bcf2049193062b7d16e811807faf629379bc5a94bba771d442e9680e727d765703ad4c6cf8abd9d0bb22d1971f07d897f0fc8a572182302528961fcfe8b186fb SHA512 5f2611238a58184dcd57a5ca2fff786d4ecfdbb51815c3f6afdcabbb85087baf87fc601d1506a6b880d42af32e06a62e7757b1abf455325718258d3072616a49
26 DIST capybara-3.0.3.gem 276480 BLAKE2B a1aa8e8ccc3846c87bdc989f456fdd0c09f41b2939cfe322faa6ae478bacdd1d6b4b13dba55fc74edd50fcfe28eb59eb8a2add8e3fc5ba948bcf8365c0ffbb96 SHA512 7af6c04304f3308322ec374d226b6cd874ba2068be5451da482a6bd2861e404b580e4c74604f0873cd91a52f1d95117efdf850cf19eb9c6265715cff5d503c47
27 DIST capybara-3.1.0.gem 282112 BLAKE2B 71b275c548e3327dcbad779d48563b6784cbfcc0e5c3ba5fa478488ef90276bab1aeeaecd229255047cd23e01be6923c68c1f753b9d76d3428cc0ce75ff3ede3 SHA512 64c7a22eb8d566b245084e7b95d79dec2c72162e003418c0367a46e1072ad83569e97702f61f9a87f996160a62df3a653543d33878c6d3a46ebc2c286fcfbfd7
28
29 diff --git a/dev-ruby/capybara/capybara-2.14.4-r1.ebuild b/dev-ruby/capybara/capybara-2.14.4-r1.ebuild
30 deleted file mode 100644
31 index 1826bfca2ae..00000000000
32 --- a/dev-ruby/capybara/capybara-2.14.4-r1.ebuild
33 +++ /dev/null
34 @@ -1,50 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
40 -
41 -RUBY_FAKEGEM_EXTRADOC="History.md README.md"
42 -
43 -# Rake tasks are not distributed in the gem.
44 -RUBY_FAKEGEM_TASK_DOC=""
45 -RUBY_FAKEGEM_TASK_TEST=""
46 -
47 -inherit virtualx ruby-fakegem
48 -
49 -DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
50 -HOMEPAGE="https://github.com/jnicklas/capybara"
51 -LICENSE="MIT"
52 -
53 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa"
54 -SLOT="2"
55 -IUSE="test"
56 -
57 -DEPEND="${DEPEND} test? ( www-client/firefox )"
58 -
59 -ruby_add_bdepend "test? ( dev-ruby/rspec:3 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 dev-ruby/sinatra )"
60 -
61 -ruby_add_rdepend "
62 - dev-ruby/addressable
63 - >=dev-ruby/mime-types-1.16:*
64 - >=dev-ruby/nokogiri-1.3.3
65 - >=dev-ruby/rack-1.0.0:*
66 - >=dev-ruby/rack-test-0.5.4
67 - >=dev-ruby/xpath-2.0.0:2"
68 -
69 -all_ruby_prepare() {
70 - sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' spec/spec_helper.rb || die
71 -
72 - # Avoid window-manager specific tests (sizes are specific for fluxbox)
73 - sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
74 -
75 - # Avoid spec that requires unpackaged geckodriver
76 - sed -i -e '/register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
77 -
78 - # Avoid test dependency on puma server for now
79 - sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
80 -}
81 -
82 -each_ruby_test() {
83 - virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed."
84 -}
85
86 diff --git a/dev-ruby/capybara/capybara-3.0.2.ebuild b/dev-ruby/capybara/capybara-3.0.2.ebuild
87 deleted file mode 100644
88 index 0a7a4b36388..00000000000
89 --- a/dev-ruby/capybara/capybara-3.0.2.ebuild
90 +++ /dev/null
91 @@ -1,50 +0,0 @@
92 -# Copyright 1999-2018 Gentoo Foundation
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=6
96 -USE_RUBY="ruby22 ruby23 ruby24"
97 -
98 -RUBY_FAKEGEM_EXTRADOC="History.md README.md"
99 -
100 -# Rake tasks are not distributed in the gem.
101 -RUBY_FAKEGEM_TASK_DOC=""
102 -RUBY_FAKEGEM_TASK_TEST=""
103 -
104 -inherit virtualx ruby-fakegem
105 -
106 -DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
107 -HOMEPAGE="https://github.com/jnicklas/capybara"
108 -LICENSE="MIT"
109 -
110 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
111 -SLOT="3"
112 -IUSE="test"
113 -
114 -DEPEND="${DEPEND} test? ( www-client/firefox )"
115 -
116 -ruby_add_bdepend "test? ( dev-ruby/rspec:3 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 dev-ruby/sinatra )"
117 -
118 -ruby_add_rdepend "
119 - dev-ruby/addressable
120 - >=dev-ruby/mini_mime-0.1.3
121 - >=dev-ruby/nokogiri-1.8:0
122 - >=dev-ruby/rack-1.6.0:*
123 - >=dev-ruby/rack-test-0.6.3:*
124 - || ( dev-ruby/xpath:3 )"
125 -
126 -all_ruby_prepare() {
127 - sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' spec/spec_helper.rb || die
128 -
129 - # Avoid window-manager specific tests (sizes are specific for fluxbox)
130 - sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
131 -
132 - # Avoid spec that requires unpackaged geckodriver
133 - sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
134 -
135 - # Avoid test dependency on puma server for now
136 - sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
137 -}
138 -
139 -each_ruby_test() {
140 - virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed."
141 -}