1 |
commit: f8ea53ad9f3ef7850a86630fc2fa5146b5c86133 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 18 05:57:47 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 18 05:57:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8ea53ad |
7 |
|
8 |
www-servers/puma: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
www-servers/puma/Manifest | 1 - |
14 |
www-servers/puma/puma-3.11.0.ebuild | 67 ------------------------------------- |
15 |
2 files changed, 68 deletions(-) |
16 |
|
17 |
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest |
18 |
index f9c564c815f..89431b6d9ca 100644 |
19 |
--- a/www-servers/puma/Manifest |
20 |
+++ b/www-servers/puma/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST puma-3.11.0.tar.gz 207387 BLAKE2B b95af60358a9e6877eec34b4cab80c00512e6f9c518f302d6373eee3042b4f439d655aafc719461f7d286fea565e82e6f7ad541a7b0a17d3c2f49067f3e11dd1 SHA512 55e7be6a6c8abc7c8bba4c793b9515150d989358259bbd6546cd8a52d9e6cfb0b7e20c3f813790359ae141865f991d0daadf043e884e2cbc1a1bdfabadca8a16 |
23 |
DIST puma-3.11.4.tar.gz 210324 BLAKE2B 16c01182f4a3adad026ab4f214945b1c5e002d2d99ef965947d982b488c3d080f50d41b175cc69181b2c953d32df6dfb63253dbd0312d594a2472f69f01aa30f SHA512 4c32c7587cab7ae0afd1e90d3de00db67fe314a700240d295303549905e3c556cba06ea41fbe6230f50328769d47272c52f9eb6460b0653fa14e336bacd120ea |
24 |
DIST puma-3.12.0.tar.gz 215213 BLAKE2B 1b142e6cc135021eccb01b2e8643d8d22f1c535723a943ae996c6607c7e771d8990ae2132fa2aad8ea44eceaf8c8f586fbb3d61a9aa2963a02d9f54c76773f5e SHA512 e8f0383de24e452735dddaf80e997cc428af2de767be31db6b47fdd5d09268fcb7ca139233311dda83c7a70db6646109e04308c076ac2bf2510766791171ddc5 |
25 |
|
26 |
diff --git a/www-servers/puma/puma-3.11.0.ebuild b/www-servers/puma/puma-3.11.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index adbb12cdd78..00000000000 |
29 |
--- a/www-servers/puma/puma-3.11.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,67 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-USE_RUBY="ruby22 ruby23 ruby24" |
38 |
- |
39 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
40 |
- |
41 |
-inherit multilib ruby-fakegem |
42 |
- |
43 |
-DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack" |
44 |
-HOMEPAGE="http://puma.io/" |
45 |
-SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="BSD" |
48 |
-SLOT="3" |
49 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~x86" |
50 |
-IUSE="" |
51 |
- |
52 |
-DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" |
53 |
-RDEPEND+=" dev-libs/openssl:0" |
54 |
- |
55 |
-ruby_add_bdepend "virtual/ruby-ssl |
56 |
- test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" |
57 |
- |
58 |
-all_ruby_prepare() { |
59 |
- sed -i -e '/bundler/ s:^:#:' test/helper.rb || die |
60 |
- |
61 |
- # Avoid test failing inconsistently |
62 |
- sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die |
63 |
- |
64 |
- # Avoid test we did not run previously that is failing |
65 |
- rm -f test/test_cli.rb || die |
66 |
- |
67 |
- # Avoid test that trigger a bug in ruby very easily and lead to |
68 |
- # failure. This affects all current puma versions in combination |
69 |
- # with the latest ruby versions, so we add this new version anyway |
70 |
- # while allowing these tests to fail. |
71 |
- # https://github.com/puma/puma/pull/1345 |
72 |
- rm -f test/test_{persistent,puma_server,puma_server_ssl}.rb || die |
73 |
-} |
74 |
- |
75 |
-each_ruby_prepare() { |
76 |
- sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \ |
77 |
- -e 's/localhost/127.0.0.1/' test/shell/* || die |
78 |
- sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die |
79 |
-} |
80 |
- |
81 |
-each_ruby_configure() { |
82 |
- ${RUBY} -Cext/puma_http11 extconf.rb || die |
83 |
-} |
84 |
- |
85 |
-each_ruby_compile() { |
86 |
- emake V=1 -Cext/puma_http11 |
87 |
- cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die |
88 |
-} |
89 |
- |
90 |
-each_ruby_test() { |
91 |
- einfo "Running test suite" |
92 |
- ${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 |
93 |
- |
94 |
- einfo "Running integration tests" |
95 |
- pushd test/shell |
96 |
- #sh run.sh || die |
97 |
- popd |
98 |
-} |