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: Mon, 29 Apr 2019 05:32:59
Message-Id: 1556515958.35a4a9fd8665c58917b66152f4a0f13130cead13.graaff@gentoo
1 commit: 35a4a9fd8665c58917b66152f4a0f13130cead13
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 29 05:29:33 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 29 05:32:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a4a9fd
7
8 www-servers/puma: 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 www-servers/puma/Manifest | 2 --
14 www-servers/puma/puma-3.11.4.ebuild | 64 -------------------------------------
15 www-servers/puma/puma-3.12.0.ebuild | 64 -------------------------------------
16 3 files changed, 130 deletions(-)
17
18 diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest
19 index 599ed34f5d9..e3204142cb6 100644
20 --- a/www-servers/puma/Manifest
21 +++ b/www-servers/puma/Manifest
22 @@ -1,3 +1 @@
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 DIST puma-3.12.1.tar.gz 217543 BLAKE2B 6427c48d17ead515a17fd53ba05baba0ca27b9a3c6b26257e83b21ce099d7ff36666dfe1f1a964d23addd666c5aa83c46e6795ad2e22236de7136e25be689ff5 SHA512 70784ed89403e96d1bdb68f3ee0a5446d98a6f8a1af5ddf369d837e2ae3320118c29c9c33e7a9db7a76b1a80aef66a9b6426140c492721984de50e7cc5fc8300
26
27 diff --git a/www-servers/puma/puma-3.11.4.ebuild b/www-servers/puma/puma-3.11.4.ebuild
28 deleted file mode 100644
29 index 6d2b52c564b..00000000000
30 --- a/www-servers/puma/puma-3.11.4.ebuild
31 +++ /dev/null
32 @@ -1,64 +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 ruby25"
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="https://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 that trigger a bug in ruby very easily and lead to
66 - # failure. This affects all current puma versions in combination
67 - # with the latest ruby versions, so we add this new version anyway
68 - # while allowing these tests to fail.
69 - # https://github.com/puma/puma/pull/1345
70 - rm -f test/test_{persistent,puma_server,puma_server_ssl}.rb || die
71 -}
72 -
73 -each_ruby_prepare() {
74 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
75 - -e 's/localhost/127.0.0.1/' test/shell/* || die
76 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
77 -}
78 -
79 -each_ruby_configure() {
80 - ${RUBY} -Cext/puma_http11 extconf.rb || die
81 -}
82 -
83 -each_ruby_compile() {
84 - emake V=1 -Cext/puma_http11
85 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
86 -}
87 -
88 -each_ruby_test() {
89 - einfo "Running test suite"
90 - ${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
91 -
92 - einfo "Running integration tests"
93 - pushd test/shell
94 - #sh run.sh || die
95 - popd
96 -}
97
98 diff --git a/www-servers/puma/puma-3.12.0.ebuild b/www-servers/puma/puma-3.12.0.ebuild
99 deleted file mode 100644
100 index 1c30abe77f9..00000000000
101 --- a/www-servers/puma/puma-3.12.0.ebuild
102 +++ /dev/null
103 @@ -1,64 +0,0 @@
104 -# Copyright 1999-2018 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=6
108 -
109 -USE_RUBY="ruby23 ruby24 ruby25"
110 -
111 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
112 -
113 -inherit multilib ruby-fakegem
114 -
115 -DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
116 -HOMEPAGE="https://puma.io/"
117 -SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
118 -
119 -LICENSE="BSD"
120 -SLOT="3"
121 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
122 -IUSE=""
123 -
124 -DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
125 -RDEPEND+=" dev-libs/openssl:0"
126 -
127 -ruby_add_bdepend "virtual/ruby-ssl
128 - test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
129 -
130 -all_ruby_prepare() {
131 - sed -i -e '/bundler/ s:^:#:' test/helper.rb || die
132 -
133 - # Avoid test failing inconsistently
134 - sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die
135 -
136 - # Avoid test that trigger a bug in ruby very easily and lead to
137 - # failure. This affects all current puma versions in combination
138 - # with the latest ruby versions, so we add this new version anyway
139 - # while allowing these tests to fail.
140 - # https://github.com/puma/puma/pull/1345
141 - rm -f test/test_{persistent,puma_server,puma_server_ssl}.rb || die
142 -}
143 -
144 -each_ruby_prepare() {
145 - sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
146 - -e 's/localhost/127.0.0.1/' test/shell/* || die
147 - sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
148 -}
149 -
150 -each_ruby_configure() {
151 - ${RUBY} -Cext/puma_http11 extconf.rb || die
152 -}
153 -
154 -each_ruby_compile() {
155 - emake V=1 -Cext/puma_http11
156 - cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
157 -}
158 -
159 -each_ruby_test() {
160 - einfo "Running test suite"
161 - ${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
162 -
163 - einfo "Running integration tests"
164 - pushd test/shell
165 - #sh run.sh || die
166 - popd
167 -}