1 |
commit: a8b4e5ef21cd2c7ff759b6eacb5fab61219cccf4 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 14 05:12:24 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 14 05:12:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b4e5ef |
7 |
|
8 |
www-servers/puma: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
www-servers/puma/Manifest | 2 -- |
13 |
www-servers/puma/puma-3.11.2.ebuild | 67 ------------------------------------- |
14 |
www-servers/puma/puma-3.11.3.ebuild | 67 ------------------------------------- |
15 |
3 files changed, 136 deletions(-) |
16 |
|
17 |
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest |
18 |
index bac1777cf40..c3ce32748ee 100644 |
19 |
--- a/www-servers/puma/Manifest |
20 |
+++ b/www-servers/puma/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
DIST puma-3.11.0.tar.gz 207387 BLAKE2B b95af60358a9e6877eec34b4cab80c00512e6f9c518f302d6373eee3042b4f439d655aafc719461f7d286fea565e82e6f7ad541a7b0a17d3c2f49067f3e11dd1 SHA512 55e7be6a6c8abc7c8bba4c793b9515150d989358259bbd6546cd8a52d9e6cfb0b7e20c3f813790359ae141865f991d0daadf043e884e2cbc1a1bdfabadca8a16 |
23 |
-DIST puma-3.11.2.tar.gz 207895 BLAKE2B f7a36112f70e63467569354f5ee5e81e1a62ab457099228f7c43c25bd51a8f8aa6de7e02c71222d23c3dc6b5e726c3210e46052d03ae376d533332942b1daa2f SHA512 a10fc17585f38ea31c213cfde109fb21415257d2a6ab8863091baee49e94916b20ffc47f8aa961ab2b2d5d0672a0ad4a279bc9b2549062842accb6cd39cf922c |
24 |
-DIST puma-3.11.3.tar.gz 207993 BLAKE2B a1d46e531664e04b738840ce8f393721a9a0af113b4796ac24050859973e04f1d36a5494c1245ad24fbb3de54fae00caf908357114499db808342c471a73ccf3 SHA512 315ff78e302fcee5ac404167d40d7a831b584c21aa34cce55a13cd4f2beeafa62a4ae68b2e394f3f4d0ce50cf680bdf8437e5fe6cd541964db2d5838bc8c8469 |
25 |
DIST puma-3.11.4.tar.gz 210324 BLAKE2B 16c01182f4a3adad026ab4f214945b1c5e002d2d99ef965947d982b488c3d080f50d41b175cc69181b2c953d32df6dfb63253dbd0312d594a2472f69f01aa30f SHA512 4c32c7587cab7ae0afd1e90d3de00db67fe314a700240d295303549905e3c556cba06ea41fbe6230f50328769d47272c52f9eb6460b0653fa14e336bacd120ea |
26 |
|
27 |
diff --git a/www-servers/puma/puma-3.11.2.ebuild b/www-servers/puma/puma-3.11.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 7bac9556728..00000000000 |
30 |
--- a/www-servers/puma/puma-3.11.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,67 +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_RECIPE_DOC="rdoc" |
41 |
- |
42 |
-inherit multilib ruby-fakegem |
43 |
- |
44 |
-DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack" |
45 |
-HOMEPAGE="http://puma.io/" |
46 |
-SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="3" |
50 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86" |
51 |
-IUSE="" |
52 |
- |
53 |
-DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" |
54 |
-RDEPEND+=" dev-libs/openssl:0" |
55 |
- |
56 |
-ruby_add_bdepend "virtual/ruby-ssl |
57 |
- test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" |
58 |
- |
59 |
-all_ruby_prepare() { |
60 |
- sed -i -e '/bundler/ s:^:#:' test/helper.rb || die |
61 |
- |
62 |
- # Avoid test failing inconsistently |
63 |
- sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die |
64 |
- |
65 |
- # Avoid test we did not run previously that is failing |
66 |
- rm -f test/test_cli.rb || die |
67 |
- |
68 |
- # Avoid test that trigger a bug in ruby very easily and lead to |
69 |
- # failure. This affects all current puma versions in combination |
70 |
- # with the latest ruby versions, so we add this new version anyway |
71 |
- # while allowing these tests to fail. |
72 |
- # https://github.com/puma/puma/pull/1345 |
73 |
- rm -f test/test_{persistent,puma_server,puma_server_ssl}.rb || die |
74 |
-} |
75 |
- |
76 |
-each_ruby_prepare() { |
77 |
- sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \ |
78 |
- -e 's/localhost/127.0.0.1/' test/shell/* || die |
79 |
- sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die |
80 |
-} |
81 |
- |
82 |
-each_ruby_configure() { |
83 |
- ${RUBY} -Cext/puma_http11 extconf.rb || die |
84 |
-} |
85 |
- |
86 |
-each_ruby_compile() { |
87 |
- emake V=1 -Cext/puma_http11 |
88 |
- cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die |
89 |
-} |
90 |
- |
91 |
-each_ruby_test() { |
92 |
- einfo "Running test suite" |
93 |
- ${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 |
94 |
- |
95 |
- einfo "Running integration tests" |
96 |
- pushd test/shell |
97 |
- #sh run.sh || die |
98 |
- popd |
99 |
-} |
100 |
|
101 |
diff --git a/www-servers/puma/puma-3.11.3.ebuild b/www-servers/puma/puma-3.11.3.ebuild |
102 |
deleted file mode 100644 |
103 |
index 745ad159b3e..00000000000 |
104 |
--- a/www-servers/puma/puma-3.11.3.ebuild |
105 |
+++ /dev/null |
106 |
@@ -1,67 +0,0 @@ |
107 |
-# Copyright 1999-2018 Gentoo Foundation |
108 |
-# Distributed under the terms of the GNU General Public License v2 |
109 |
- |
110 |
-EAPI=6 |
111 |
- |
112 |
-USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
113 |
- |
114 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
115 |
- |
116 |
-inherit multilib ruby-fakegem |
117 |
- |
118 |
-DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack" |
119 |
-HOMEPAGE="https://puma.io/" |
120 |
-SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
121 |
- |
122 |
-LICENSE="BSD" |
123 |
-SLOT="3" |
124 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86" |
125 |
-IUSE="" |
126 |
- |
127 |
-DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" |
128 |
-RDEPEND+=" dev-libs/openssl:0" |
129 |
- |
130 |
-ruby_add_bdepend "virtual/ruby-ssl |
131 |
- test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" |
132 |
- |
133 |
-all_ruby_prepare() { |
134 |
- sed -i -e '/bundler/ s:^:#:' test/helper.rb || die |
135 |
- |
136 |
- # Avoid test failing inconsistently |
137 |
- sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die |
138 |
- |
139 |
- # Avoid test we did not run previously that is failing |
140 |
- rm -f test/test_cli.rb || die |
141 |
- |
142 |
- # Avoid test that trigger a bug in ruby very easily and lead to |
143 |
- # failure. This affects all current puma versions in combination |
144 |
- # with the latest ruby versions, so we add this new version anyway |
145 |
- # while allowing these tests to fail. |
146 |
- # https://github.com/puma/puma/pull/1345 |
147 |
- rm -f test/test_{persistent,puma_server,puma_server_ssl}.rb || die |
148 |
-} |
149 |
- |
150 |
-each_ruby_prepare() { |
151 |
- sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \ |
152 |
- -e 's/localhost/127.0.0.1/' test/shell/* || die |
153 |
- sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die |
154 |
-} |
155 |
- |
156 |
-each_ruby_configure() { |
157 |
- ${RUBY} -Cext/puma_http11 extconf.rb || die |
158 |
-} |
159 |
- |
160 |
-each_ruby_compile() { |
161 |
- emake V=1 -Cext/puma_http11 |
162 |
- cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die |
163 |
-} |
164 |
- |
165 |
-each_ruby_test() { |
166 |
- einfo "Running test suite" |
167 |
- ${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 |
168 |
- |
169 |
- einfo "Running integration tests" |
170 |
- pushd test/shell |
171 |
- #sh run.sh || die |
172 |
- popd |
173 |
-} |