www-servers/puma: cleanup

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2021-05-10 06:33:50 +02:00
parent 35e3514030
commit d4aa51f8a2
4 changed files with 0 additions and 191 deletions
-2
View File
@@ -1,5 +1,3 @@
DIST puma-3.12.5.tar.gz 219175 BLAKE2B 55e80fba8fd84004090cb8d30b6fd01652f1beb1d1216c5d41ce46c616677504fa867f9701ed2631f4edc956c9377d72c6fd4a1b61e99fdbb50ea371b170a0c0 SHA512 1e6721844cbabab0cfb8b1707625723061821dae3ee06a3330075f787ae580e6836d9cbe436e63dc4602253ad1da3b56135316c923c03bbbae454d9457a44aec
DIST puma-5.1.1.tar.gz 284807 BLAKE2B 59ba17129e55e79aa2f8092d60a5643840bd996b7832d421cb72538fc48b0fb302353bedef56cc9b115bdfb15b33b0f453bfbf759b2e9552a9490a8b0cef3090 SHA512 8653c622c21dca2116219702e801d7aa3272f0771fd5c2d5149927edbd504a9838fb0d442bfc5dc523035a94dad25946738a5dda954fdaa74a9a00c85ed9f86e
DIST puma-5.2.0.tar.gz 292173 BLAKE2B e09e524ef651a674373e0c5281832fef2e016f58e9623968e11c47135f7bcddb72c6458e74e85f4264c40f49222161d9749c3c29295d5470e47e7b0382e96bab SHA512 3e97f17be3926ff23b03def55dd1c9f015750a5aec74f0fa1551d20c9f386e0ec1a9e676dc0df49ae12129be6768a7d2f7df7a944dd2ec3d44f8243098dc7950
DIST puma-5.2.1.tar.gz 292945 BLAKE2B 1590dd256953578330ffcb4b2e8745c20ea893f62f251813da5b2473694312a9daeccd7cd5f453dbad441619594210fbdac431a6459deea24e1656c4da0ba01c SHA512 8ec1a351badd68ce6559eb99592e3f4d836ca49406749a6c2cd9162c443eadf3b4cf24ceb6c92e0e27057217f6487ff9923888ff4a1590f8cf9061d06ec16e52
DIST puma-5.2.2.tar.gz 293551 BLAKE2B ba7ba9d8a2dcf9ea9716624f712d6b569472e8bfd8d7501a5807007ccdc6b6b36a8fc6f65f47f5898907adb3d3b85e2630194d5527c96ed655ce6a52192ec36a SHA512 b2d4f711cd1ad4f4557991ba26d7b940573b413e6a4c589d8447e78135d8d47e7222de4c865919981b677891cb2b57e3a3cf015d1f9a637b671f4f221c7ea77f
-65
View File
@@ -1,65 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_GEMSPEC="puma.gemspec"
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 ~sparc ~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 )"
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 || 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
sed -e 's/git ls-files --/find/' \
-e 's:_relative ": "./:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || 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
}
-59
View File
@@ -1,59 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_GEMSPEC="puma.gemspec"
RUBY_FAKEGEM_EXTENSIONS=(ext/puma_http11/extconf.rb)
RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/puma
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 ~sparc ~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 )"
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 || 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
sed -e 's/git ls-files --/find/' \
-e 's:_relative ": "./:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || 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
}
-65
View File
@@ -1,65 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_GEMSPEC="puma.gemspec"
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 ~sparc ~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 )"
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 || 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
sed -e 's/git ls-files --/find/' \
-e 's:_relative ": "./:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || 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
}