diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
commit | 89c6c06b8c42107dd231687a1012354e7d3039fc (patch) | |
tree | dad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /www-servers/puma | |
parent | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff) |
gentoo resync : 26.11.2017
Diffstat (limited to 'www-servers/puma')
-rw-r--r-- | www-servers/puma/Manifest | 11 | ||||
-rw-r--r-- | www-servers/puma/metadata.xml | 16 | ||||
-rw-r--r-- | www-servers/puma/puma-3.11.0.ebuild | 67 |
3 files changed, 81 insertions, 13 deletions
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest index 4a277dc4732b..15fb223e7d62 100644 --- a/www-servers/puma/Manifest +++ b/www-servers/puma/Manifest @@ -1,8 +1,9 @@ DIST puma-3.10.0.tar.gz 158843 SHA256 c2f3f10061ee5206e8f2b2e95a3e447ec0b9acb54a70495892df1648c2bcdcc7 SHA512 a0a97c75408c8e9ab108b0d2edaa955bf0052d0d0ba7641be52f645ffaf61d9c647f863910e084319a705de7b27a763209f5aeda50e29db94442d9ac59866813 WHIRLPOOL b06fabcaf19ee9c9440288b0fdb61a171dba443a93fe490eeeaa6b110a80f2c2ce969a8d6ccda7af8f27f1fe60584b91b2bbe69984e8df2a7f1b64969bfc2b4e +DIST puma-3.11.0.tar.gz 207387 SHA256 9a040b3845ebdec3ae086847b7147d151a542dac86194abe8856cd728345a539 SHA512 55e7be6a6c8abc7c8bba4c793b9515150d989358259bbd6546cd8a52d9e6cfb0b7e20c3f813790359ae141865f991d0daadf043e884e2cbc1a1bdfabadca8a16 WHIRLPOOL 7cad2ddeae342794e1f237e0bd39312c747c46a2480aad93d2cdfda1d1771f10a3e9feaa846f1f52c7d7c7a78514aa9e04a3a8b0027752c34aaee9646863c29e DIST puma-3.6.2.tar.gz 152250 SHA256 c3963d0f8600aa83fdeaa65d0ab4baff543c755dccd26218b53fafc48f380c7e SHA512 d80138f37b22753f2fefeba1c6bd315d8a6ded0e718df84ede6979b7634b6ebae1c4a2aa98bf233e8bc2d0113201f0e9c752e4d128ce4b812897680694f1ce9f WHIRLPOOL a98e125eee7c7da770e88c66b67dca8083ee9317572b9d96cc2e3e34b39049b86f2cdd49455971a3757e6d9da71bce32db1f50542501075ef57cf0fce236e052 DIST puma-3.9.1.tar.gz 156801 SHA256 bd75f67928b819d7fef2ab81e77565032e2f2252f16d02f33a010682d473f10e SHA512 612e4dda7e3ead5c71df113031856d1ff2f001bfeaff448a81afa373b4b84a37c98e4f73ab8c2a763dd70e55a03fd60b9cafad134367989a90781d91ef0214a7 WHIRLPOOL a17e2f0cec113d8597069e704ed5f9d4e7c61a333efb322c7de2033fdb5eb78f560a41e3965a8d825986a8ff25f53c504e041af26c0d97084bdb913b71b26cfb -EBUILD puma-3.10.0.ebuild 1984 SHA256 22e364dce209f0b7e9e82613e251cc7a961e0d5e1e531a4498f354666cf2b5a4 SHA512 71dba8b8bfdcb5ec415d903e8bf90617cd40ae027fe0459036818b3af239225f3989031fd3bf51e417f18c4b411d54355c2d4c1df0e27f335f7881e3c061b4ba WHIRLPOOL 78ba8746219c9b4392ab5d7a32764dde84756fe71e5afeb1a87cef7b4161e7944b2c5a4f621d26ae3db5c863f74cf4c5579feaae320e4adc550be797e3db69e9 -EBUILD puma-3.6.2.ebuild 1562 SHA256 ddd416d96219dba1ef938d92fd143c8271fe302b0802d987c2434d0c6945f247 SHA512 24d34f792c97867baf1b5c91f5679e8b8d7921f11e04df5b302ab161c2bae85a63a812066aee85bcbff2f3116b3b1385cfc9009ba7279505c6f846b5c4a5b95b WHIRLPOOL e3f2f45bb6a6685e02eeb6becd56ecd574d0a61195fd1d90989167a73240f313e6e5e8a8a5e773150cf5bd26f0105d9aa539b9797ace021e266cf378d8d6d332 -EBUILD puma-3.9.1.ebuild 1984 SHA256 22e364dce209f0b7e9e82613e251cc7a961e0d5e1e531a4498f354666cf2b5a4 SHA512 71dba8b8bfdcb5ec415d903e8bf90617cd40ae027fe0459036818b3af239225f3989031fd3bf51e417f18c4b411d54355c2d4c1df0e27f335f7881e3c061b4ba WHIRLPOOL 78ba8746219c9b4392ab5d7a32764dde84756fe71e5afeb1a87cef7b4161e7944b2c5a4f621d26ae3db5c863f74cf4c5579feaae320e4adc550be797e3db69e9 -MISC ChangeLog 1197 SHA256 2ff67c216eb5b5a5804296d4f8a13cd4bace2ebe9f22d81ebcfee4e510c77c0e SHA512 cef9b8c09895e3b03366654b80f4bc5c900f6916990612daaddfda7bebc590c2da3b60f54779b2218be1a8bb906b41aa8e80aaa0b0502b26697bb8468c0d487c WHIRLPOOL 2ef102b30d71f1698008b6f2843a8a730f14dacde8fcb81d25fde6e4b6c5e0f18b07545c65fc334410e73ff9710ed8d538106cf858efce47345a27433c2f3060 -MISC metadata.xml 698 SHA256 ac1efda99c0a9907f968af0fa7c988194474c2f0c2d04e93c24ee3b14f276b46 SHA512 85fe4b390fe3623ab1ef99c683f1114a0189af25dace79eec1e629fc62502abd54525c50aba0813d63a556e18ec149570eb0d829f6ac615a9b3dd5b727ea920c WHIRLPOOL 426dbae82bc3fe1c60c1c108eeff9f7b676f32d3d4cd81c1ba0b9397b48f795ae91c94a2d2d892cf4cca0b3ebc39bae091b61e2171725247d794e27775f74ad6 +EBUILD puma-3.10.0.ebuild 1984 BLAKE2B 679d465e8f473d20e1b103a797013fad2e64f5888e840af4bb4cd7bbdca8fd684253824eb59e81d81d3cbf8d36db7dd971c200a29b41eab0a7c3a1579ecde8dc SHA512 71dba8b8bfdcb5ec415d903e8bf90617cd40ae027fe0459036818b3af239225f3989031fd3bf51e417f18c4b411d54355c2d4c1df0e27f335f7881e3c061b4ba +EBUILD puma-3.11.0.ebuild 1977 BLAKE2B 40bbbd633b44229e3f8aaae6b39fdc1f44c77472d70eae4270e0d7fa3ab9f85a14a605a8ef5628935d9d8b6c077e306e5ec601091924af37ff9f3bf6ed609c20 SHA512 d203c5fdf969750a4ea06ad3b9c2a3847e876139ed35fb831e105f3f36d9b1fefd8e91b5d9892a7eafd76b1614e864e4f137a858e437fb1e88eb72259f1b13c2 +EBUILD puma-3.6.2.ebuild 1562 BLAKE2B 4b337f5c74f7fe57ee5dbf3c8c07c97526f159c287cdf555d601ded0370a34e74bdc68365020a0234b273671add789ce9d06568767910c41ee158804e34dbc0f SHA512 24d34f792c97867baf1b5c91f5679e8b8d7921f11e04df5b302ab161c2bae85a63a812066aee85bcbff2f3116b3b1385cfc9009ba7279505c6f846b5c4a5b95b +EBUILD puma-3.9.1.ebuild 1984 BLAKE2B 679d465e8f473d20e1b103a797013fad2e64f5888e840af4bb4cd7bbdca8fd684253824eb59e81d81d3cbf8d36db7dd971c200a29b41eab0a7c3a1579ecde8dc SHA512 71dba8b8bfdcb5ec415d903e8bf90617cd40ae027fe0459036818b3af239225f3989031fd3bf51e417f18c4b411d54355c2d4c1df0e27f335f7881e3c061b4ba +MISC metadata.xml 709 BLAKE2B f0a69d0e7f4c5e593ff5648b51de393610f579fd9fff372749fca4491e8dd57b7e853f87104e8b86f8e90013fe54f8c3141e28ae87d17432e60f329f51a67db6 SHA512 dd872907d8e164d0b63f1b4db076d9407c33581ae80ecafb119904ceebe4c05eb74d01d51c3217cf475faf02d3732e9854553fc980c1b054c42b95af58ee1c0e diff --git a/www-servers/puma/metadata.xml b/www-servers/puma/metadata.xml index aa7df3539e92..48a67572fe72 100644 --- a/www-servers/puma/metadata.xml +++ b/www-servers/puma/metadata.xml @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <longdescription> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription> Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. In order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like Rubinius or JRuby. </longdescription> - <upstream> - <remote-id type="github">puma/puma</remote-id> - </upstream> + <upstream> + <remote-id type="github">puma/puma</remote-id> + </upstream> </pkgmetadata> diff --git a/www-servers/puma/puma-3.11.0.ebuild b/www-servers/puma/puma-3.11.0.ebuild new file mode 100644 index 000000000000..5ebdb4097bc3 --- /dev/null +++ b/www-servers/puma/puma-3.11.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +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="http://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" +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 we did not run previously that is failing + rm -f test/test_cli.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 +} |