diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-23 04:04:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-23 04:04:37 +0100 |
commit | fd93fe10d9e6c855fed8e1524b2d2d64d2085570 (patch) | |
tree | ef70885add7d9276bc4f5e8b56c784bc974b3e0b /dev-ruby/serverengine | |
parent | a15e8dc7444560123d7d4be1bccb19afd5b611d0 (diff) |
gentoo auto-resync : 23:10:2024 - 04:04:36
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r-- | dev-ruby/serverengine/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/serverengine/serverengine-2.4.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest index 89e4f5443aba..e5563a42a61d 100644 --- a/dev-ruby/serverengine/Manifest +++ b/dev-ruby/serverengine/Manifest @@ -1,3 +1,5 @@ DIST serverengine-2.3.2.gem 43520 BLAKE2B f07972501906ee8a8418461d80125d019364b1d025740d22e50f862e70054682affdb1a65015e38b72ab971792f2d3cb8c41d7ce45c5f99ce9398c2ae236d6bb SHA512 9ca32740d4579fb8cbeb613780ed78a9a2e5a72fb427d24aa26a9a805f83de0d2840eb3de6e2e4205a771e1c58bcc4a171869807fdb49ddbb017ceeb8ca08c73 +DIST serverengine-2.4.0.gem 45056 BLAKE2B ca17d6c595135348bd43e5db290e3c8c5563663654ab568f89efda53c6503e5d17c61017d63173f93dea71a001c33237132ced400db39084410ce14bea09a89c SHA512 4d2951c056606b03ea1b63797c08d14f1fa95407f57724dd2e327a309515c24ccfd2c8833914e11252fd1dcb009bb44949860635f90faf192187d6c0e56accb5 EBUILD serverengine-2.3.2.ebuild 1012 BLAKE2B 10af86d9fd75a863961ac09c888cbaf279248cf63153d017ebaaae6841428c9f9adb62b4b025762ae7287317a6933febe9b776614c89e44085ce1e5bcd35692d SHA512 6f94ab8d70ab3011f5e8ab09a29b737abe4659c248d64bd725d71900d4c7484884df59fc7e5b1bab462032c9160f4990d411e5aada98427346843b21b11fa71f +EBUILD serverengine-2.4.0.ebuild 1061 BLAKE2B d0f3bc188f82e1896132ecd3696a7f927807e4c036636a1887b96b85e12367221c7376ec57ef4fc40a569869cd887db52985e1f4657745f63f31081cd8d8ad0c SHA512 36152993b8ab724f8d06b1a03c09a9a6a516588d5c8c5d4437a4c6f88efef58f024615e44e97aedc9eb60fd98c564d4d2c4bbb949d7135228336d45c63667a6f MISC metadata.xml 353 BLAKE2B 54a03fe8df31db127396923c3d900d76e8e5a4346c43ccd8ade40b61bd0eec6ea49fbda044e07cdf7bb825931407426ac4657552dabccf7f87fd4e537db1827a SHA512 7ade9f2705b8f8edb735ee5a0e6e8d3ce2761a27e58125915f77df354f79c4932e36ea8666fbd3978771d4c9d6d5671579f2eb77738cdb1496a7c90b2df6ecc7 diff --git a/dev-ruby/serverengine/serverengine-2.4.0.ebuild b/dev-ruby/serverengine/serverengine-2.4.0.ebuild new file mode 100644 index 000000000000..d2a153ad673f --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.4.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/treasure-data/serverengine" +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/base64 + >=dev-ruby/logger-1.4:0 + >=dev-ruby/sigdump-0.2.2:0 +" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/rr-3.1:0 dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/3.12.0/3.12/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die + + sed -i -e '/color_enabled/ s:^:#:' -e '1irequire "fileutils"' spec/spec_helper.rb || die + + sed -i -e '/raises SystemExit/askip "Exits rspec 3"' spec/multi_process_server_spec.rb || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-3 spec || die +} |