From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 674241382C5 for ; Thu, 26 Apr 2018 04:57:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 377E5E088C; Thu, 26 Apr 2018 04:57:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC747E088C for ; Thu, 26 Apr 2018 04:57:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F5E0335C7A for ; Thu, 26 Apr 2018 04:57:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F375029C for ; Thu, 26 Apr 2018 04:57:10 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1524718223.d59590c60ad955e92e9b0e45b7da420e420f068d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/puma/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/puma/Manifest www-servers/puma/puma-3.11.4.ebuild X-VCS-Directories: www-servers/puma/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d59590c60ad955e92e9b0e45b7da420e420f068d X-VCS-Branch: master Date: Thu, 26 Apr 2018 04:57:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0f3e0853-24a6-4be2-96d6-854463e70e9b X-Archives-Hash: 8a33004900349043577398cceb69911d commit: d59590c60ad955e92e9b0e45b7da420e420f068d Author: Hans de Graaff gentoo org> AuthorDate: Thu Apr 26 04:50:23 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Apr 26 04:50:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d59590c6 www-servers/puma: add 3.11.4 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-servers/puma/Manifest | 1 + www-servers/puma/puma-3.11.4.ebuild | 64 +++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest index 0ea6436086c..bac1777cf40 100644 --- a/www-servers/puma/Manifest +++ b/www-servers/puma/Manifest @@ -1,3 +1,4 @@ DIST puma-3.11.0.tar.gz 207387 BLAKE2B b95af60358a9e6877eec34b4cab80c00512e6f9c518f302d6373eee3042b4f439d655aafc719461f7d286fea565e82e6f7ad541a7b0a17d3c2f49067f3e11dd1 SHA512 55e7be6a6c8abc7c8bba4c793b9515150d989358259bbd6546cd8a52d9e6cfb0b7e20c3f813790359ae141865f991d0daadf043e884e2cbc1a1bdfabadca8a16 DIST puma-3.11.2.tar.gz 207895 BLAKE2B f7a36112f70e63467569354f5ee5e81e1a62ab457099228f7c43c25bd51a8f8aa6de7e02c71222d23c3dc6b5e726c3210e46052d03ae376d533332942b1daa2f SHA512 a10fc17585f38ea31c213cfde109fb21415257d2a6ab8863091baee49e94916b20ffc47f8aa961ab2b2d5d0672a0ad4a279bc9b2549062842accb6cd39cf922c DIST puma-3.11.3.tar.gz 207993 BLAKE2B a1d46e531664e04b738840ce8f393721a9a0af113b4796ac24050859973e04f1d36a5494c1245ad24fbb3de54fae00caf908357114499db808342c471a73ccf3 SHA512 315ff78e302fcee5ac404167d40d7a831b584c21aa34cce55a13cd4f2beeafa62a4ae68b2e394f3f4d0ce50cf680bdf8437e5fe6cd541964db2d5838bc8c8469 +DIST puma-3.11.4.tar.gz 210324 BLAKE2B 16c01182f4a3adad026ab4f214945b1c5e002d2d99ef965947d982b488c3d080f50d41b175cc69181b2c953d32df6dfb63253dbd0312d594a2472f69f01aa30f SHA512 4c32c7587cab7ae0afd1e90d3de00db67fe314a700240d295303549905e3c556cba06ea41fbe6230f50328769d47272c52f9eb6460b0653fa14e336bacd120ea diff --git a/www-servers/puma/puma-3.11.4.ebuild b/www-servers/puma/puma-3.11.4.ebuild new file mode 100644 index 00000000000..2b93a7e41f3 --- /dev/null +++ b/www-servers/puma/puma-3.11.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +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 ~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() { + 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_{persistent,puma_server,puma_server_ssl}.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 +}