diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-14 09:07:20 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-14 09:15:00 +0100 |
commit | abfd440bdbeb8e92cdc2ba6eaf4bce985758fe28 (patch) | |
tree | bcb32a3587bb8705d8ac76bb94e75d1a07e044d7 /www-servers/puma | |
parent | dev-ruby/rails-html-sanitizer: amd64 stable (diff) | |
download | gentoo-abfd440bdbeb8e92cdc2ba6eaf4bce985758fe28.tar.gz gentoo-abfd440bdbeb8e92cdc2ba6eaf4bce985758fe28.tar.bz2 gentoo-abfd440bdbeb8e92cdc2ba6eaf4bce985758fe28.zip |
www-servers/puma: cleanup
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'www-servers/puma')
-rw-r--r-- | www-servers/puma/Manifest | 2 | ||||
-rw-r--r-- | www-servers/puma/puma-3.6.2.ebuild | 58 | ||||
-rw-r--r-- | www-servers/puma/puma-3.9.1.ebuild | 67 |
3 files changed, 0 insertions, 127 deletions
diff --git a/www-servers/puma/Manifest b/www-servers/puma/Manifest index 595eb17d232f..b8eb70feaba2 100644 --- a/www-servers/puma/Manifest +++ b/www-servers/puma/Manifest @@ -1,4 +1,2 @@ DIST puma-3.10.0.tar.gz 158843 BLAKE2B 94f206c2b1334b2b63da3962b0a9077cd2e9671c705c4db23acc44098c02902ac3ca1b8cb0b39a0e68282d39103b61adc0334814095e313d9de02d819ab8af92 SHA512 a0a97c75408c8e9ab108b0d2edaa955bf0052d0d0ba7641be52f645ffaf61d9c647f863910e084319a705de7b27a763209f5aeda50e29db94442d9ac59866813 DIST puma-3.11.0.tar.gz 207387 BLAKE2B b95af60358a9e6877eec34b4cab80c00512e6f9c518f302d6373eee3042b4f439d655aafc719461f7d286fea565e82e6f7ad541a7b0a17d3c2f49067f3e11dd1 SHA512 55e7be6a6c8abc7c8bba4c793b9515150d989358259bbd6546cd8a52d9e6cfb0b7e20c3f813790359ae141865f991d0daadf043e884e2cbc1a1bdfabadca8a16 -DIST puma-3.6.2.tar.gz 152250 BLAKE2B c226d532de2f321d22949e6992d7497714ca91dfee28003104bb23a27402f33bb3eebfef02fe6e53c2002fa739c7a9417c38a950c62182e12f3fce8275290463 SHA512 d80138f37b22753f2fefeba1c6bd315d8a6ded0e718df84ede6979b7634b6ebae1c4a2aa98bf233e8bc2d0113201f0e9c752e4d128ce4b812897680694f1ce9f -DIST puma-3.9.1.tar.gz 156801 BLAKE2B d741365a8864fb2a66dd5e3bf0f0bab4097d16a164dae146f07077e047993dc5666709fb1b3867b722e8ad1becc6490402fa849942027ceffa88c9c8e5e010e5 SHA512 612e4dda7e3ead5c71df113031856d1ff2f001bfeaff448a81afa373b4b84a37c98e4f73ab8c2a763dd70e55a03fd60b9cafad134367989a90781d91ef0214a7 diff --git a/www-servers/puma/puma-3.6.2.ebuild b/www-servers/puma/puma-3.6.2.ebuild deleted file mode 100644 index f3905616d94f..000000000000 --- a/www-servers/puma/puma-3.6.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby21 ruby22 ruby23" - -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" -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.8:5 >=dev-ruby/test-unit-3.0:2 )" - -all_ruby_prepare() { - # 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 -} - -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.8'; 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 -} diff --git a/www-servers/puma/puma-3.9.1.ebuild b/www-servers/puma/puma-3.9.1.ebuild deleted file mode 100644 index 118aa44cbc3d..000000000000 --- a/www-servers/puma/puma-3.9.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby21 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 -} |