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: www-servers/puma/
Date: Sat, 15 Aug 2020 05:42:37
Message-Id: 1597470053.788250b02d441259c712406f79e41caab3d2f71b.graaff@gentoo
1 commit: 788250b02d441259c712406f79e41caab3d2f71b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 15 05:40:53 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 15 05:40:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788250b0
7
8 www-servers/puma: cleanup
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 www-servers/puma/Manifest | 2 -
14 www-servers/puma/puma-3.12.4.ebuild | 69 -----------------------------------
15 www-servers/puma/puma-3.12.5.ebuild | 67 ----------------------------------
16 www-servers/puma/puma-4.3.3.ebuild | 73 -------------------------------------
17 www-servers/puma/puma-4.3.4.ebuild | 73 -------------------------------------
18 5 files changed, 284 deletions(-)
19
20 diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest
21 index ebda6e9e307..eabbfd911f9 100644
22 --- a/www-servers/puma/Manifest
23 +++ b/www-servers/puma/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST puma-3.12.4.tar.gz 219148 BLAKE2B d9fcef62474a1522c29f13fb2572c99bd6d4217bc94febb9c4fe6e699808ad0002fcd88dfd16884a5a9c7296e4d6dd08bc50ce7278f41608678feb18e3a034b4 SHA512 302505512b04c68f9794461b0e7693cd3ff4dfb325b18e50f0f659649c7f504f55765437382557c65bce45d32a1710ab16a875d1fc6d143d4ca297d2b2333108
26 DIST puma-3.12.5.tar.gz 219175 BLAKE2B 55e80fba8fd84004090cb8d30b6fd01652f1beb1d1216c5d41ce46c616677504fa867f9701ed2631f4edc956c9377d72c6fd4a1b61e99fdbb50ea371b170a0c0 SHA512 1e6721844cbabab0cfb8b1707625723061821dae3ee06a3330075f787ae580e6836d9cbe436e63dc4602253ad1da3b56135316c923c03bbbae454d9457a44aec
27 -DIST puma-4.3.3.tar.gz 241756 BLAKE2B a6ff66a449bf04110b4a6e9bdaa740f1144076290f1733922ecab45b5b7e6115ee1f7431b280401adb866838b539b943a35a5955f6d7cf51075941e05451e655 SHA512 1ee81c8d144466a75d5110fd3545527c36af51d2e191c171a985944206524c10a2b4e35fb535e2a1a0a3af5d460a7071ceb9233fae8dc81784643c6b9dc06e6e
28 DIST puma-4.3.4.tar.gz 241806 BLAKE2B 5450f14112ad45c48794186c7e9f078feed28a4194a917c949f4058b9d3a115273df6d93260de330047fa59730cb3ad45f31eb05e5880569e95a0b2c9de99a42 SHA512 619bf44c17622233b673dbf6c8f34b0463cd32684df81c20f31045d3106a86e110753b4da80e7b51b46fe18d90ee107d9a84a975dc3116840d9a9b5962178873
29
30 diff --git a/www-servers/puma/puma-3.12.4.ebuild b/www-servers/puma/puma-3.12.4.ebuild
31 deleted file mode 100644
32 index e0078c5b689..00000000000
33 --- a/www-servers/puma/puma-3.12.4.ebuild
34 +++ /dev/null
35 @@ -1,69 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -USE_RUBY="ruby24 ruby25 ruby26"
42 -
43 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
44 -
45 -inherit multilib ruby-fakegem
46 -
47 -DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
48 -HOMEPAGE="https://puma.io/"
49 -SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 -
51 -LICENSE="BSD"
52 -SLOT="3"
53 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
54 -IUSE=""
55 -
56 -DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
57 -RDEPEND+=" dev-libs/openssl:0"
58 -
59 -ruby_add_bdepend "virtual/ruby-ssl
60 - test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
61 -
62 -all_ruby_prepare() {
63 - eapply "${FILESDIR}/${PN}-3.12.1-ruby26-waitpid.patch"
64 -
65 - sed -i -e '/bundler/ s:^:#:' test/helper.rb || die
66 -
67 - # Avoid test failing inconsistently
68 - sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die
69 -
70 - # Avoid test that trigger a bug in ruby very easily and lead to
71 - # failure. This affects all current puma versions in combination
72 - # with the latest ruby versions, so we add this new version anyway
73 - # while allowing these tests to fail.
74 - # https://github.com/puma/puma/pull/1345
75 - rm -f test/test_puma_server_ssl.rb || die
76 -
77 - # Use correct ruby version
78 - sed -i -e 's/ruby -rrubygems/#{Gem.ruby} -rrubygems/' test/shell/t{1,3}.rb || die
79 -}
80 -
81 -each_ruby_prepare() {
82 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
83 - -e 's/localhost/127.0.0.1/' test/shell/* || die
84 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
85 -}
86 -
87 -each_ruby_configure() {
88 - ${RUBY} -Cext/puma_http11 extconf.rb || die
89 -}
90 -
91 -each_ruby_compile() {
92 - emake V=1 -Cext/puma_http11
93 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
94 -}
95 -
96 -each_ruby_test() {
97 - einfo "Running test suite"
98 - ${RUBY} -Ilib:.:test -e "gem 'minitest', '~>5.9'; gem 'test-unit', '~>3.0'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die
99 -
100 - einfo "Running integration tests"
101 - pushd test/shell
102 - #sh run.sh || die
103 - popd
104 -}
105
106 diff --git a/www-servers/puma/puma-3.12.5.ebuild b/www-servers/puma/puma-3.12.5.ebuild
107 deleted file mode 100644
108 index 0fd015b17d8..00000000000
109 --- a/www-servers/puma/puma-3.12.5.ebuild
110 +++ /dev/null
111 @@ -1,67 +0,0 @@
112 -# Copyright 1999-2020 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=7
116 -
117 -USE_RUBY="ruby25 ruby26 ruby27"
118 -
119 -inherit multilib ruby-fakegem
120 -
121 -DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
122 -HOMEPAGE="https://puma.io/"
123 -SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="BSD"
126 -SLOT="3"
127 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
128 -IUSE=""
129 -
130 -DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
131 -RDEPEND+=" dev-libs/openssl:0"
132 -
133 -ruby_add_bdepend "virtual/ruby-ssl
134 - test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
135 -
136 -all_ruby_prepare() {
137 - eapply "${FILESDIR}/${PN}-3.12.1-ruby26-waitpid.patch"
138 -
139 - sed -i -e '/bundler/ s:^:#:' test/helper.rb || die
140 -
141 - # Avoid test failing inconsistently
142 - sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die
143 -
144 - # Avoid test that trigger a bug in ruby very easily and lead to
145 - # failure. This affects all current puma versions in combination
146 - # with the latest ruby versions, so we add this new version anyway
147 - # while allowing these tests to fail.
148 - # https://github.com/puma/puma/pull/1345
149 - rm -f test/test_puma_server_ssl.rb || die
150 -
151 - # Use correct ruby version
152 - sed -i -e 's/ruby -rrubygems/#{Gem.ruby} -rrubygems/' test/shell/t{1,3}.rb || die
153 -}
154 -
155 -each_ruby_prepare() {
156 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
157 - -e 's/localhost/127.0.0.1/' test/shell/* || die
158 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
159 -}
160 -
161 -each_ruby_configure() {
162 - ${RUBY} -Cext/puma_http11 extconf.rb || die
163 -}
164 -
165 -each_ruby_compile() {
166 - emake V=1 -Cext/puma_http11
167 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
168 -}
169 -
170 -each_ruby_test() {
171 - einfo "Running test suite"
172 - ${RUBY} -Ilib:.:test -e "gem 'minitest', '~>5.9'; gem 'test-unit', '~>3.0'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die
173 -
174 - einfo "Running integration tests"
175 - pushd test/shell
176 - #sh run.sh || die
177 - popd
178 -}
179
180 diff --git a/www-servers/puma/puma-4.3.3.ebuild b/www-servers/puma/puma-4.3.3.ebuild
181 deleted file mode 100644
182 index 20e753cc834..00000000000
183 --- a/www-servers/puma/puma-4.3.3.ebuild
184 +++ /dev/null
185 @@ -1,73 +0,0 @@
186 -# Copyright 1999-2020 Gentoo Authors
187 -# Distributed under the terms of the GNU General Public License v2
188 -
189 -EAPI=7
190 -
191 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
192 -
193 -RUBY_FAKEGEM_GEMSPEC="puma.gemspec"
194 -
195 -inherit multilib ruby-fakegem
196 -
197 -DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
198 -HOMEPAGE="https://puma.io/"
199 -SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
200 -
201 -LICENSE="BSD"
202 -SLOT="3"
203 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
204 -IUSE=""
205 -
206 -DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
207 -RDEPEND+=" dev-libs/openssl:0"
208 -
209 -ruby_add_bdepend "virtual/ruby-ssl
210 - test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
211 -
212 -ruby_add_rdepend "dev-ruby/nio4r:2"
213 -
214 -all_ruby_prepare() {
215 - sed -e '/bundler/ s:^:#:' \
216 - -e '/prove/ s:^:#:' \
217 - -i test/helper.rb || die
218 -
219 - # Avoid tests failing inconsistently
220 - sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration_pumactl.rb || die
221 - sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die
222 -
223 - # Loosen timing on flakey test
224 - #sed -i -e '390 s/sleep 2/sleep 4/' test/test_integration.rb || die
225 -
226 - # Use correct ruby version
227 - sed -i -e 's/ruby -rrubygems/#{Gem.ruby} -rrubygems/' test/shell/t{1,3}.rb || die
228 -
229 - # Avoid launcher tests since they make assumptions about bundler use
230 - rm -f test/test_launcher.rb || die
231 -
232 - sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
233 -}
234 -
235 -each_ruby_prepare() {
236 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
237 - -e 's/localhost/127.0.0.1/' test/shell/* || die
238 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
239 -}
240 -
241 -each_ruby_configure() {
242 - ${RUBY} -Cext/puma_http11 extconf.rb || die
243 -}
244 -
245 -each_ruby_compile() {
246 - emake V=1 -Cext/puma_http11
247 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
248 -}
249 -
250 -each_ruby_test() {
251 - einfo "Running test suite"
252 - ${RUBY} -Ilib:.:test -e "gem 'minitest', '~>5.9'; gem 'test-unit', '~>3.0'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die
253 -
254 - einfo "Running integration tests"
255 - pushd test/shell
256 - #sh run.sh || die
257 - popd
258 -}
259
260 diff --git a/www-servers/puma/puma-4.3.4.ebuild b/www-servers/puma/puma-4.3.4.ebuild
261 deleted file mode 100644
262 index f4678e203a7..00000000000
263 --- a/www-servers/puma/puma-4.3.4.ebuild
264 +++ /dev/null
265 @@ -1,73 +0,0 @@
266 -# Copyright 1999-2020 Gentoo Authors
267 -# Distributed under the terms of the GNU General Public License v2
268 -
269 -EAPI=7
270 -
271 -USE_RUBY="ruby25 ruby26 ruby27"
272 -
273 -RUBY_FAKEGEM_GEMSPEC="puma.gemspec"
274 -
275 -inherit multilib ruby-fakegem
276 -
277 -DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
278 -HOMEPAGE="https://puma.io/"
279 -SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
280 -
281 -LICENSE="BSD"
282 -SLOT="3"
283 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
284 -IUSE=""
285 -
286 -DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
287 -RDEPEND+=" dev-libs/openssl:0"
288 -
289 -ruby_add_bdepend "virtual/ruby-ssl
290 - test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
291 -
292 -ruby_add_rdepend "dev-ruby/nio4r:2"
293 -
294 -all_ruby_prepare() {
295 - sed -e '/bundler/ s:^:#:' \
296 - -e '/prove/ s:^:#:' \
297 - -i test/helper.rb || die
298 -
299 - # Avoid tests failing inconsistently
300 - sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration_pumactl.rb || die
301 - sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die
302 -
303 - # Loosen timing on flakey test
304 - #sed -i -e '390 s/sleep 2/sleep 4/' test/test_integration.rb || die
305 -
306 - # Use correct ruby version
307 - sed -i -e 's/ruby -rrubygems/#{Gem.ruby} -rrubygems/' test/shell/t{1,3}.rb || die
308 -
309 - # Avoid launcher tests since they make assumptions about bundler use
310 - rm -f test/test_launcher.rb || die
311 -
312 - sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
313 -}
314 -
315 -each_ruby_prepare() {
316 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
317 - -e 's/localhost/127.0.0.1/' test/shell/* || die
318 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
319 -}
320 -
321 -each_ruby_configure() {
322 - ${RUBY} -Cext/puma_http11 extconf.rb || die
323 -}
324 -
325 -each_ruby_compile() {
326 - emake V=1 -Cext/puma_http11
327 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
328 -}
329 -
330 -each_ruby_test() {
331 - einfo "Running test suite"
332 - ${RUBY} -Ilib:.:test -e "gem 'minitest', '~>5.9'; gem 'test-unit', '~>3.0'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die
333 -
334 - einfo "Running integration tests"
335 - pushd test/shell
336 - #sh run.sh || die
337 - popd
338 -}