public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/puma/
Date: Sat, 29 Feb 2020 06:00:52 +0000 (UTC)	[thread overview]
Message-ID: <1582956047.f253202555ef702a009d61df87de829365421659.graaff@gentoo> (raw)

commit:     f253202555ef702a009d61df87de829365421659
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 29 06:00:07 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Feb 29 06:00:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2532025

www-servers/puma: add 3.12.3

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 www-servers/puma/Manifest           |  1 +
 www-servers/puma/puma-3.12.3.ebuild | 69 +++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest
index b2ddc9f963a..7bdebcca337 100644
--- a/www-servers/puma/Manifest
+++ b/www-servers/puma/Manifest
@@ -1,3 +1,4 @@
 DIST puma-3.12.2.tar.gz 218109 BLAKE2B 82224c3a9c1b2c8e903e5f02a8b43effab820581abbaea5bea9c537eb36e39deb34d6f7d62d9fc42e1e5a6f3c153583d8e009c73864a9e57c39e2d31387b2813 SHA512 b0721dc9b380f1932a60a8ac2e1f0ef3869c735359e9a9e1e37bb118ebc3f550a24bd3e544142513ebeb1ee37ae01a41ec67e71e1d182faec0bb6ed4a60bafcf
+DIST puma-3.12.3.tar.gz 218918 BLAKE2B 41bf89c63ddf6f3e1975f45db049150c6f362e028113fd1790cad30a512468e63785f892d9db7bc2bbf4232c87bb3ebf48f8f9f8d777faab93f8f5219c320508 SHA512 f3d1aac689f42f520feea39de0d56f68d58dc5dccacd412b110afc74edfc29aeefe2b06b22dc97f287accc89e55f8488b5bd9cc6e787e945d85a8e61ae1f0118
 DIST puma-4.3.1.tar.gz 239800 BLAKE2B 123dcb71dd310a960555fe801530586a39ef6876d9019549eb66590195ab1f450999d5365cf9ebbf2f057f2c641739f3fcdf743f5de076d7e637b0b17210410c SHA512 cbb5fc187d3aebfa255d3d0f2d897e109f50e18feadedbf02b73a350555dcbcfbfd91c0a810c11d6d3ac2ec26103479a53eed3fae77c96f1ae6cc2814960de46
 DIST puma-4.3.2.tar.gz 240942 BLAKE2B d02a6b5894199607905fb0d1364719f61ea189ba5c04a06863ad5c448dd6dd3ba96e8557a9ae9f3562322b9c8cbdf1189d89b7a4f344da0245ba4abfbdacaeee SHA512 a295a8fbfd03519cd87c44737783cd893d486dd8e8b63c1b07d4ea4aa706b12c36d210d9e56daf5490d0205ea7ddd2a77dc28159c90d2edafbbf3ce1ae8c24e0

diff --git a/www-servers/puma/puma-3.12.3.ebuild b/www-servers/puma/puma-3.12.3.ebuild
new file mode 100644
index 00000000000..6d43e6fb3a0
--- /dev/null
+++ b/www-servers/puma/puma-3.12.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack"
+HOMEPAGE="https://puma.io/"
+SRC_URI="https://github.com/puma/puma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )"
+RDEPEND+=" dev-libs/openssl:0"
+
+ruby_add_bdepend "virtual/ruby-ssl
+	test? ( dev-ruby/rack >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )"
+
+all_ruby_prepare() {
+	eapply "${FILESDIR}/${PN}-3.12.1-ruby26-waitpid.patch"
+
+	sed -i -e '/bundler/ s:^:#:' test/helper.rb || die
+
+	# Avoid test failing inconsistently
+	sed -i -e '/phased_restart_via_pumactl/,/^  end/ s:^:#:' test/test_integration.rb || die
+
+	# Avoid test that trigger a bug in ruby very easily and lead to
+	# failure. This affects all current puma versions in combination
+	# with the latest ruby versions, so we add this new version anyway
+	# while allowing these tests to fail.
+	# https://github.com/puma/puma/pull/1345
+	rm -f test/test_puma_server_ssl.rb || die
+
+	# Use correct ruby version
+	sed -i -e 's/ruby -rrubygems/#{Gem.ruby} -rrubygems/' test/shell/t{1,3}.rb || die
+}
+
+each_ruby_prepare() {
+	sed -i -e 's:ruby -rubygems:'${RUBY}' -rubygems:' \
+		-e 's/localhost/127.0.0.1/' test/shell/* || die
+	sed -i -e '1ilog_requests' test/shell/t{1,2}_conf.rb || die
+}
+
+each_ruby_configure() {
+	${RUBY} -Cext/puma_http11 extconf.rb || die
+}
+
+each_ruby_compile() {
+	emake V=1 -Cext/puma_http11
+	cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die
+}
+
+each_ruby_test() {
+	einfo "Running test suite"
+	${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
+
+	einfo "Running integration tests"
+	pushd test/shell
+	#sh run.sh || die
+	popd
+}


             reply	other threads:[~2020-02-29  6:00 UTC|newest]

Thread overview: 137+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-29  6:00 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-06 10:49 [gentoo-commits] repo/gentoo:master commit in: www-servers/puma/ Sam James
2024-09-22  5:34 Hans de Graaff
2024-02-28  6:43 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2023-09-22  5:54 Hans de Graaff
2023-09-18 20:40 Arthur Zamarin
2023-09-18 20:04 Arthur Zamarin
2023-08-19  7:53 Arthur Zamarin
2023-08-18  5:37 Hans de Graaff
2023-06-30  6:09 Hans de Graaff
2023-06-30  6:09 Hans de Graaff
2023-06-10  5:19 Jakov Smolić
2023-06-10  5:19 Jakov Smolić
2023-04-23  6:21 Hans de Graaff
2023-04-23  6:21 Hans de Graaff
2023-04-11 17:52 Jakov Smolić
2023-04-09  2:34 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:36 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James
2023-04-03  0:47 Sam James
2023-03-27  8:35 Sam James
2023-02-12  8:18 Hans de Graaff
2023-01-02  7:00 Hans de Graaff
2022-12-21 15:56 Arthur Zamarin
2022-12-21 15:56 Arthur Zamarin
2022-12-21  7:34 Hans de Graaff
2022-10-17  5:25 Hans de Graaff
2022-08-24  4:37 Hans de Graaff
2022-06-04  5:47 Hans de Graaff
2022-04-12 17:29 Hans de Graaff
2022-04-12  8:06 Agostino Sarubbo
2022-04-11  6:50 Agostino Sarubbo
2022-03-31  6:15 Hans de Graaff
2022-02-14 14:19 Yixun Lan
2022-02-12  7:30 Hans de Graaff
2022-02-12  7:30 Hans de Graaff
2022-02-05  7:54 Hans de Graaff
2022-02-05  6:57 Hans de Graaff
2022-02-01  7:36 Agostino Sarubbo
2022-02-01  7:30 Agostino Sarubbo
2022-01-28  7:06 Hans de Graaff
2021-12-27 16:01 Arthur Zamarin
2021-12-17 11:50 Arthur Zamarin
2021-12-17  9:02 Arthur Zamarin
2021-12-07 20:44 Arthur Zamarin
2021-11-19  2:08 Sam James
2021-11-17  2:19 Sam James
2021-11-09 20:41 Jakov Smolić
2021-11-08  2:51 Yixun Lan
2021-11-05  7:51 Hans de Graaff
2021-07-30  8:30 Hans de Graaff
2021-07-12 13:26 Hans de Graaff
2021-06-22 18:19 Sam James
2021-06-06  7:19 Hans de Graaff
2021-06-06  7:16 Agostino Sarubbo
2021-06-06  7:14 Agostino Sarubbo
2021-06-04  8:22 Hans de Graaff
2021-06-04  8:22 Hans de Graaff
2021-05-22  7:03 Hans de Graaff
2021-05-12  6:20 Hans de Graaff
2021-05-10  4:35 Hans de Graaff
2021-05-10  4:35 Hans de Graaff
2021-03-04  6:55 Hans de Graaff
2021-03-04  6:55 Hans de Graaff
2021-02-13  9:51 Hans de Graaff
2021-02-07  6:11 Hans de Graaff
2021-02-04  7:58 Agostino Sarubbo
2021-02-03 23:55 Thomas Deutschmann
2021-02-03  6:45 Hans de Graaff
2020-12-18  9:31 Hans de Graaff
2020-12-18  9:31 Hans de Graaff
2020-11-21  7:49 Hans de Graaff
2020-08-15  5:42 Hans de Graaff
2020-08-13 23:10 Thomas Deutschmann
2020-08-13 19:15 Hans de Graaff
2020-08-12  6:01 Agostino Sarubbo
2020-08-11 11:00 Agostino Sarubbo
2020-07-19  8:30 Hans de Graaff
2020-07-19  8:30 Hans de Graaff
2020-06-03  6:59 Sergei Trofimovich
2020-03-05  8:11 Hans de Graaff
2020-03-02 12:32 Agostino Sarubbo
2020-03-01 13:03 Agostino Sarubbo
2020-02-29  6:57 Hans de Graaff
2020-02-29  6:57 Hans de Graaff
2020-02-29  6:57 Hans de Graaff
2020-02-29  6:00 Hans de Graaff
2019-12-14  9:39 Hans de Graaff
2019-12-10  9:46 Agostino Sarubbo
2019-12-09 14:38 Agostino Sarubbo
2019-12-09  5:44 Hans de Graaff
2019-12-09  5:44 Hans de Graaff
2019-11-09  6:11 Hans de Graaff
2019-10-09  5:04 Hans de Graaff
2019-09-29  9:07 Hans de Graaff
2019-07-24 23:16 Aaron Bauman
2019-07-12  5:07 Hans de Graaff
2019-06-26  5:16 Hans de Graaff
2019-04-29  5:32 Hans de Graaff
2019-04-28 20:34 Thomas Deutschmann
2019-04-13 14:10 Mikle Kolyada
2019-03-24  8:35 Hans de Graaff
2018-12-26 11:48 Sergei Trofimovich
2018-12-18  5:58 Hans de Graaff
2018-07-14  5:21 Hans de Graaff
2018-07-14  5:21 Hans de Graaff
2018-07-14  5:21 Hans de Graaff
2018-04-26  4:57 Hans de Graaff
2018-04-26  4:57 Hans de Graaff
2018-04-14  6:48 Hans de Graaff
2018-03-25 12:41 Sergei Trofimovich
2018-03-25 12:41 Sergei Trofimovich
2018-03-25 12:41 Sergei Trofimovich
2018-03-06  6:25 Hans de Graaff
2018-02-07  5:52 Thomas Deutschmann
2018-01-22  6:44 Hans de Graaff
2018-01-14  8:15 Hans de Graaff
2018-01-14  8:15 Hans de Graaff
2017-11-21  5:42 Hans de Graaff
2017-11-21  5:42 Hans de Graaff
2017-08-18  6:11 Hans de Graaff
2017-08-18  6:11 Hans de Graaff
2017-07-24 17:51 Markus Meier
2017-07-12 12:13 Alexis Ballier
2017-07-08  9:54 Hans de Graaff
2016-12-06  5:38 Hans de Graaff
2016-12-06  5:38 Hans de Graaff
2016-11-22  6:25 Hans de Graaff
2016-08-20  7:23 Hans de Graaff
2016-08-20  7:23 Hans de Graaff
2016-03-18  6:38 Hans de Graaff
2016-03-13  7:48 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582956047.f253202555ef702a009d61df87de829365421659.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox