1 |
commit: e820265d910d1236649e0b5b3d9bee611e4e97e3 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 11 18:11:08 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 18:11:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e820265d |
7 |
|
8 |
dev-ruby/faraday: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/faraday/Manifest | 2 - |
14 |
dev-ruby/faraday/faraday-0.14.0.ebuild | 69 --------------------------------- |
15 |
dev-ruby/faraday/faraday-0.15.3.ebuild | 71 ---------------------------------- |
16 |
3 files changed, 142 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest |
19 |
index d015a045759..75abb50908a 100644 |
20 |
--- a/dev-ruby/faraday/Manifest |
21 |
+++ b/dev-ruby/faraday/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST faraday-0.14.0.tar.gz 65105 BLAKE2B bf5101083bd828e2ea98dcd487c7c082f8b2d2eb4d03ac7ad04e1873666db9e2cec1e6eb9887364874ea5f32d0313019d1eada5e05e25e0415bdd5aa2bcfca97 SHA512 25bba07e76a2a8bf02b0c81c045329e72d5911a2aacae56611db33dc25c89bd48bb1b4de9b20c6edc1514d3ceae8b06fca6076c85580533047c222cb30ef8dc7 |
24 |
-DIST faraday-0.15.3.tar.gz 67065 BLAKE2B 7425fb885cb26394ee91098264b5e4e3038a68855b9a55b03a39faca18d4e0cd516fe447b2312538692229bb15df091317ee36aad762937b46c72e16bb19cc8a SHA512 cfc59c44481e4be27504d02bfcbdc3a3783d15940487e72aaba136f5c456d74be6cad5a686e74eed1ad216fbb58db197d04015c2d168abbbaf899c4f855acdbd |
25 |
DIST faraday-0.15.4.tar.gz 67196 BLAKE2B 4e64e834639a6e59c028ee19d72f51ea72fd6b3be5fc63b6fbbec25716dbd735e97d8a05a210dd1a57b740a1dcd76d30a39b59c7034cab8a531f8856dc132b14 SHA512 6d1a8c66bd6e2ce417ce504bf20ea89cf24c46c2b48491aba110d04f273448e0e8f0cf94a0dd5356a13876aa030d41bbfb80b95365ea4b212fd79d8db624128f |
26 |
|
27 |
diff --git a/dev-ruby/faraday/faraday-0.14.0.ebuild b/dev-ruby/faraday/faraday-0.14.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index c3f9a9825f0..00000000000 |
30 |
--- a/dev-ruby/faraday/faraday-0.14.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,69 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-USE_RUBY="ruby22 ruby23 ruby24" |
39 |
- |
40 |
-RUBY_FAKEGEM_TASK_TEST="test" |
41 |
-RUBY_FAKEGEM_TASK_DOC="" |
42 |
- |
43 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
44 |
- |
45 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
46 |
- |
47 |
-inherit ruby-fakegem eutils |
48 |
- |
49 |
-DESCRIPTION="HTTP/REST API client library with pluggable components" |
50 |
-HOMEPAGE="https://github.com/lostisland/faraday" |
51 |
-SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
- |
53 |
-LICENSE="MIT" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
56 |
-IUSE="" |
57 |
- |
58 |
-DEPEND+=" test? ( sys-process/lsof )" |
59 |
- |
60 |
-ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3" |
61 |
-ruby_add_bdepend "test? ( |
62 |
- >=dev-ruby/test-unit-2.4 |
63 |
- dev-ruby/httpclient |
64 |
- dev-ruby/rack-test |
65 |
- dev-ruby/sinatra |
66 |
- dev-ruby/net-http-persistent |
67 |
- dev-ruby/patron |
68 |
- )" |
69 |
- |
70 |
-all_ruby_prepare() { |
71 |
- # Remove bundler support. |
72 |
- rm Gemfile || die |
73 |
- sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die |
74 |
- sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die |
75 |
- |
76 |
- # Remove simplecov and coveralls support, not needed to run tests. |
77 |
- sed -i -e '/simplecov/,/^end/ s:^:#:' \ |
78 |
- -e '1igem "rack", "~>1.0"; require "yaml"' \ |
79 |
- test/helper.rb || die |
80 |
- |
81 |
- # Remove tests for adapters that are not packaged for Gentoo. |
82 |
- rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die |
83 |
- |
84 |
- # The proxy server is already killed, may be OS X vs Linux issue. |
85 |
- sed -i -e '138 s/^/#/' script/test || die |
86 |
- |
87 |
- sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die |
88 |
-} |
89 |
- |
90 |
-each_ruby_prepare() { |
91 |
- # Make sure the test scripts use the right ruby interpreter |
92 |
- sed -i -e 's:ruby:'${RUBY}':' script/* || die |
93 |
-} |
94 |
- |
95 |
-each_ruby_test() { |
96 |
- MT_NO_PLUGINS=true each_fakegem_test |
97 |
- |
98 |
- # Sleep some time to allow the sinatra test server to die |
99 |
- einfo "Waiting for test server to stop" |
100 |
- sleep 10 |
101 |
-} |
102 |
|
103 |
diff --git a/dev-ruby/faraday/faraday-0.15.3.ebuild b/dev-ruby/faraday/faraday-0.15.3.ebuild |
104 |
deleted file mode 100644 |
105 |
index c17052d85c4..00000000000 |
106 |
--- a/dev-ruby/faraday/faraday-0.15.3.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,71 +0,0 @@ |
109 |
-# Copyright 1999-2018 Gentoo Authors |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
- |
112 |
-EAPI=6 |
113 |
- |
114 |
-USE_RUBY="ruby23 ruby24 ruby25" |
115 |
- |
116 |
-RUBY_FAKEGEM_TASK_TEST="test" |
117 |
-RUBY_FAKEGEM_TASK_DOC="" |
118 |
- |
119 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
120 |
- |
121 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
122 |
- |
123 |
-inherit ruby-fakegem eutils |
124 |
- |
125 |
-DESCRIPTION="HTTP/REST API client library with pluggable components" |
126 |
-HOMEPAGE="https://github.com/lostisland/faraday" |
127 |
-SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
128 |
- |
129 |
-LICENSE="MIT" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
132 |
-IUSE="" |
133 |
- |
134 |
-DEPEND+=" test? ( sys-process/lsof )" |
135 |
- |
136 |
-ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3" |
137 |
-ruby_add_bdepend "test? ( |
138 |
- >=dev-ruby/test-unit-2.4 |
139 |
- dev-ruby/httpclient |
140 |
- dev-ruby/rack-test |
141 |
- dev-ruby/sinatra |
142 |
- dev-ruby/net-http-persistent |
143 |
- dev-ruby/patron |
144 |
- )" |
145 |
- |
146 |
-all_ruby_prepare() { |
147 |
- # Remove bundler support. |
148 |
- rm Gemfile || die |
149 |
- sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile test/helper.rb || die |
150 |
- sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die |
151 |
- |
152 |
- # Remove simplecov and coveralls support, not needed to run tests. |
153 |
- sed -i -e '/simplecov/,/^end/ s:^:#:' \ |
154 |
- test/helper.rb || die |
155 |
- |
156 |
- # Remove tests for adapters that are not packaged for Gentoo. |
157 |
- rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die |
158 |
- |
159 |
- # Remove tests against live services |
160 |
- sed -i -e '/test_dynamic_no_proxy/askip "live network test"' test/connection_test.rb || die |
161 |
- |
162 |
- # The proxy server is already killed, may be OS X vs Linux issue. |
163 |
- sed -i -e '138 s/^/#/' script/test || die |
164 |
- |
165 |
- sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die |
166 |
-} |
167 |
- |
168 |
-each_ruby_prepare() { |
169 |
- # Make sure the test scripts use the right ruby interpreter |
170 |
- sed -i -e 's:ruby:'${RUBY}':' script/* || die |
171 |
-} |
172 |
- |
173 |
-each_ruby_test() { |
174 |
- MT_NO_PLUGINS=true each_fakegem_test |
175 |
- |
176 |
- # Sleep some time to allow the sinatra test server to die |
177 |
- einfo "Waiting for test server to stop" |
178 |
- sleep 10 |
179 |
-} |