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