1 |
commit: a0529a8e427676ff36ab959a5a58ad066ea80bfb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 28 07:00:33 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 28 07:06:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0529a8e |
7 |
|
8 |
www-servers/puma: add 5.6.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
www-servers/puma/Manifest | 1 + |
14 |
www-servers/puma/puma-5.6.1.ebuild | 59 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest |
18 |
index 229b2f6a1d26..adfdd764f6d9 100644 |
19 |
--- a/www-servers/puma/Manifest |
20 |
+++ b/www-servers/puma/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST puma-5.3.2.tar.gz 297673 BLAKE2B e3bfa38347526063587db966d20ea68f32cd88616d89b5f2d9152228d5d420b50c2918e24304c1bc8119af5790a2464f0a055ab92862a56262013ddbba006a1f SHA512 32e80b413184d371d451a35985a371a7655df0f7e81624f2a05e3cf65c2e1b035275a8e25ab03d13c9c1f921ec30cdeb3659e1201baae5940dcb3edcb525ff25 |
23 |
DIST puma-5.4.0.tar.gz 298525 BLAKE2B d93231582cd83519c258093fd9ac5e2b06398133e82e2d350103e7438a4ed1fd9b36f627739dbbad86e839211850c5387be57d5d114835e7e4d99940e842b128 SHA512 032a507d852c555393f401d4e72c358cf8c49d1c93ff7a559969f3d1f84c0b49180cbcee975bb6fea621d034a00874268ff05ae76f91775cc24089de0b4560da |
24 |
DIST puma-5.5.2.tar.gz 302778 BLAKE2B 5911accde19aaed34cffecc71eb2db02f0d9f9ea7b57437ff7cf7580b0b51245ed68b254778cbdc11bea624b9f192aef0bfa7e24acde73b77290d780ab177933 SHA512 9887b465c6ed2a8e551b15fd161f19a9d2baa96b8eb8e247f13c98df9d34f6097bce81a52e8f88d69088d9b5f8477137af9110b7546afabc53767f337ad00ef8 |
25 |
+DIST puma-5.6.1.tar.gz 308896 BLAKE2B 0fa28fee64da577965c16fa564275760fbb3ebd04ed3eff583e53733b2f674ec6d29c20d2734bd16cb83aca8747ff5049e86d692bb5dd70fa5112a7a2c64ebf4 SHA512 262f17343668f5bf68842664eb6445208755385428151354fdb4039411e339c5c686f684bdb32c974516add3ca86af5693d1e169cf2bf74a8614be3cc06eccb0 |
26 |
|
27 |
diff --git a/www-servers/puma/puma-5.6.1.ebuild b/www-servers/puma/puma-5.6.1.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..808b8fced84f |
30 |
--- /dev/null |
31 |
+++ b/www-servers/puma/puma-5.6.1.ebuild |
32 |
@@ -0,0 +1,59 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+USE_RUBY="ruby26 ruby27 ruby30" |
39 |
+ |
40 |
+RUBY_FAKEGEM_GEMSPEC="puma.gemspec" |
41 |
+ |
42 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/puma_http11/extconf.rb) |
43 |
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/puma |
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 ~sparc ~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/localhost dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" |
61 |
+ |
62 |
+ruby_add_rdepend "dev-ruby/nio4r:2" |
63 |
+ |
64 |
+all_ruby_prepare() { |
65 |
+ sed -e '/bundler/ s:^:#:' \ |
66 |
+ -e '/prove/ s:^:#:' \ |
67 |
+ -e '/stub_const/ s:^:#:' \ |
68 |
+ -i test/helper.rb || die |
69 |
+ |
70 |
+ # Avoid tests failing inconsistently |
71 |
+ sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die |
72 |
+ |
73 |
+ # Avoid launcher tests since they make assumptions about bundler use |
74 |
+ rm -f test/test_launcher.rb test/test_worker_gem_independence.rb || die |
75 |
+ |
76 |
+ # Skip integration tests since they make a lot of assumptions about |
77 |
+ # the environment |
78 |
+ rm -f test/test_integration_* test/test_preserve_bundler_env.rb|| die |
79 |
+ |
80 |
+ # Avoid test that uses unpackaged stub_const |
81 |
+ sed -i -e '/test_shutdown_with_grace/,/^ end/ s:^:#:' test/test_thread_pool.rb || die |
82 |
+ |
83 |
+ sed -e 's/git ls-files --/find/' \ |
84 |
+ -e 's:_relative ": "./:' \ |
85 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || 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 |
+} |