1 |
commit: 1df5dd700abbf7d20cda8225d609f1fef0b2f2a2 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 6 07:19:06 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 6 07:19:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df5dd70 |
7 |
|
8 |
www-servers/puma: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
www-servers/puma/Manifest | 1 - |
14 |
www-servers/puma/puma-5.1.1.ebuild | 65 -------------------------------------- |
15 |
2 files changed, 66 deletions(-) |
16 |
|
17 |
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest |
18 |
index dba3a54e818..5169bd91163 100644 |
19 |
--- a/www-servers/puma/Manifest |
20 |
+++ b/www-servers/puma/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST puma-5.1.1.tar.gz 284807 BLAKE2B 59ba17129e55e79aa2f8092d60a5643840bd996b7832d421cb72538fc48b0fb302353bedef56cc9b115bdfb15b33b0f453bfbf759b2e9552a9490a8b0cef3090 SHA512 8653c622c21dca2116219702e801d7aa3272f0771fd5c2d5149927edbd504a9838fb0d442bfc5dc523035a94dad25946738a5dda954fdaa74a9a00c85ed9f86e |
23 |
DIST puma-5.3.2.tar.gz 297673 BLAKE2B e3bfa38347526063587db966d20ea68f32cd88616d89b5f2d9152228d5d420b50c2918e24304c1bc8119af5790a2464f0a055ab92862a56262013ddbba006a1f SHA512 32e80b413184d371d451a35985a371a7655df0f7e81624f2a05e3cf65c2e1b035275a8e25ab03d13c9c1f921ec30cdeb3659e1201baae5940dcb3edcb525ff25 |
24 |
|
25 |
diff --git a/www-servers/puma/puma-5.1.1.ebuild b/www-servers/puma/puma-5.1.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 1c8d8a3bd41..00000000000 |
28 |
--- a/www-servers/puma/puma-5.1.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,65 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-USE_RUBY="ruby25 ruby26 ruby27" |
37 |
- |
38 |
-RUBY_FAKEGEM_GEMSPEC="puma.gemspec" |
39 |
- |
40 |
-inherit multilib ruby-fakegem |
41 |
- |
42 |
-DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack" |
43 |
-HOMEPAGE="https://puma.io/" |
44 |
-SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="3" |
48 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86" |
49 |
-IUSE="" |
50 |
- |
51 |
-DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" |
52 |
-RDEPEND+=" dev-libs/openssl:0" |
53 |
- |
54 |
-ruby_add_bdepend "virtual/ruby-ssl |
55 |
- test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" |
56 |
- |
57 |
-ruby_add_rdepend "dev-ruby/nio4r:2" |
58 |
- |
59 |
-all_ruby_prepare() { |
60 |
- sed -e '/bundler/ s:^:#:' \ |
61 |
- -e '/prove/ s:^:#:' \ |
62 |
- -e '/stub_const/ s:^:#:' \ |
63 |
- -i test/helper.rb || die |
64 |
- |
65 |
- # Avoid tests failing inconsistently |
66 |
- sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die |
67 |
- |
68 |
- # Avoid launcher tests since they make assumptions about bundler use |
69 |
- rm -f test/test_launcher.rb test/test_worker_gem_independence.rb || die |
70 |
- |
71 |
- # Skip integration tests since they make a lot of assumptions about |
72 |
- # the environment |
73 |
- rm -f test/test_integration_* test/test_preserve_bundler_env.rb|| die |
74 |
- |
75 |
- # Avoid test that uses unpackaged stub_const |
76 |
- sed -i -e '/test_shutdown_with_grace/,/^ end/ s:^:#:' test/test_thread_pool.rb || die |
77 |
- |
78 |
- sed -e 's/git ls-files --/find/' \ |
79 |
- -e 's:_relative ": "./:' \ |
80 |
- -i ${RUBY_FAKEGEM_GEMSPEC} || die |
81 |
-} |
82 |
- |
83 |
-each_ruby_configure() { |
84 |
- ${RUBY} -Cext/puma_http11 extconf.rb || die |
85 |
-} |
86 |
- |
87 |
-each_ruby_compile() { |
88 |
- emake V=1 -Cext/puma_http11 |
89 |
- cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die |
90 |
-} |
91 |
- |
92 |
-each_ruby_test() { |
93 |
- einfo "Running test suite" |
94 |
- ${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 |
95 |
-} |