diff options
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/Manifest.gz | bin | 4525 -> 4526 bytes | |||
-rw-r--r-- | www-servers/puma/Manifest | 1 | ||||
-rw-r--r-- | www-servers/puma/puma-6.1.1-r1.ebuild | 62 |
3 files changed, 63 insertions, 0 deletions
diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz Binary files differindex 0185554a432b..95d99b17a829 100644 --- a/www-servers/Manifest.gz +++ b/www-servers/Manifest.gz diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest index 61ef3ea382c2..1d44797bedcc 100644 --- a/www-servers/puma/Manifest +++ b/www-servers/puma/Manifest @@ -12,5 +12,6 @@ EBUILD puma-6.0.0.ebuild 1890 BLAKE2B 701c88a61bbe44e2b72fce75921043036f3defe7fb EBUILD puma-6.0.1.ebuild 1890 BLAKE2B 701c88a61bbe44e2b72fce75921043036f3defe7fb66dd28a34afb42574a5bc05cc8d410903121a404be3b359cae9bde25ec7a59bbf447cf7ab6a51068ec1b1d SHA512 f8b81ac9e7432339cd8c0297ee4271eb4b67e74feaff9a999c70baa895a4fdc90355a5397db02c8b7b44a7d4fbc1d7c89dba02824a144183a01da2d5c89e15a7 EBUILD puma-6.0.2.ebuild 1890 BLAKE2B 157dae5ba217a3d4814b9ef1e3c08e633d04d48970783c3446cef4ac5497d0f0150630c4607ec6479a9d45e3e4e1880793084fc04189c6e258a5f30862265cb8 SHA512 a541171cb753ff342604bef4a460b969d74ba3751c3c57a62a0b5de87ef07acd1821226411bcd6e889ea6ece386ad687ec0e675465eb957e05d2d08001d2e486 EBUILD puma-6.1.0.ebuild 1932 BLAKE2B 9e29e12283d4b906c4c1876719463f1a1379852bfddb4193a1983dd7376b664fa4bf6965a2cf3984dab011418ae33c33d2a582472b9a583c3d48b3fa3ae11549 SHA512 e9723db022c6a926fd02dba8ac760845d1ab475eb5eb4a999c24f87e92b9baa9b852d8976d14012dc9874bdd1138c225f72e4eef59cdb825efef4658b5d7ef0f +EBUILD puma-6.1.1-r1.ebuild 2022 BLAKE2B 5f6ec3942912418db73071fce20eb77301cb3b48ebd29fd421ba63252e03b9186118d466f3e3a1e131ec13ed7e4e8f543a569ea00441ed79b8b911dd0962c4f2 SHA512 8e3f46727a18223f7816e8205588bc13d61fd7ad61afacec7efefa615248fa0ce746ccfc55c256d2ed5322c87046f2024580874a7099852a2863190fd0ccb399 EBUILD puma-6.1.1.ebuild 2047 BLAKE2B 4e3ee978e4dcfca58044b8da76e0071d7244360a126344bf28c8c844219cfa7d6e6a85c1a139a963a550fee803aa56e383a33041a0567c83d109c224affd8ac1 SHA512 5086424da2c1b596008311679127c55e8dff32d1e5c74e2d552efcc6a5b0020f67f169c52db75f995d40022662207c1aedbfcf7014d1403d1cb24b0e7d79f11f MISC metadata.xml 710 BLAKE2B bf109653812999e453fb414a83bf404786d16df301ba9dff87c123e0f1dbff8e3024109e96b7f36a3d9e1ebe57eb7aecc7acfd923f0de1bc8c4f358a87b32379 SHA512 894c677c61b3c7f8081b1511c64c274497c4ea85171f5b19d9606a19e4dff33df00d169653e3aede3eee07737b1cf9faadb812eebcf67292be68150c026b7f8e diff --git a/www-servers/puma/puma-6.1.1-r1.ebuild b/www-servers/puma/puma-6.1.1-r1.ebuild new file mode 100644 index 000000000000..4d5269c1bdd0 --- /dev/null +++ b/www-servers/puma/puma-6.1.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_GEMSPEC="puma.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/puma_http11/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/puma + +inherit 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 ~ppc" +IUSE="" + +DEPEND+=" dev-libs/openssl:0 test? ( net-misc/curl )" +RDEPEND+=" dev-libs/openssl:0=" + +ruby_add_bdepend "virtual/ruby-ssl + test? ( dev-ruby/localhost dev-ruby/rack:2.2 >=dev-ruby/minitest-5.9:5 >=dev-ruby/test-unit-3.0:2 )" + +ruby_add_rdepend "dev-ruby/nio4r:2" + +all_ruby_prepare() { + sed -e '/bundler/ s:^:#:' \ + -e '/prove/ s:^:#:' \ + -e '/stub_const/ s:^:#:' \ + -i test/helper.rb || die + + # Avoid tests failing inconsistently + sed -i -e '/test_bad_client/askip "inconsistent results"' test/test_web_server.rb || die + + # Avoid launcher tests since they make assumptions about bundler use + rm -f test/test_launcher.rb test/test_worker_gem_independence.rb test/test_bundle_pruner.rb || die + + # Skip integration tests since they make a lot of assumptions about + # the environment + rm -f test/test_integration_* test/test_preserve_bundler_env.rb|| die + + # Avoid test that uses unpackaged stub_const + sed -i -e '/test_shutdown_with_grace/,/^ end/ s:^:#:' test/test_thread_pool.rb || die + + # Tries to call 'rackup' directly + sed -i -e '/def test_bin/,/^ end/ s:^:#:' test/test_rack_handler.rb || die + + sed -e 's/git ls-files --/find/' \ + -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + einfo "Running test suite" + PUMA_CI_RACK_2=true ${RUBY} -Ilib:.:test -e "gem 'minitest', '~>5.9'; gem 'test-unit', '~>3.0'; gem 'rack', '<3'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die +} |