diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
commit | ebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (patch) | |
tree | 261a9ff495381f4023c98dfb4ecd5cb195b5f346 /dev-ruby/serverengine | |
parent | 2666e9c75caf914c25a25329523c982df8512930 (diff) |
gentoo auto-resync : 28:12:2022 - 14:12:52
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r-- | dev-ruby/serverengine/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/serverengine/serverengine-2.3.1.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest index 21c1d80182eb..453f6ea15c54 100644 --- a/dev-ruby/serverengine/Manifest +++ b/dev-ruby/serverengine/Manifest @@ -1,3 +1,5 @@ DIST serverengine-2.3.0.gem 42496 BLAKE2B 944e0e6b6bd31b6609e21fac0ea688b9a4acac3b02c4c1f06a34fe29a51c67db79e9a55c43243ce601d42a30b31ca1da605caeab05bdd9587536c4fb540bb5ce SHA512 0887ac556f9f4faa7d8e25743b2f79694153c0e7e39666c8ea02d0313c17835e0e5697da498ad1b23612ec938d8d9f430cfb9699711479ae088011c5a7fee4c4 +DIST serverengine-2.3.1.gem 43008 BLAKE2B 81bee04d87bbb67b048dc6aa423f1eee431776d9cd2f215854cdba2abe9c5bc14a5575b42129cc91780a893509ba38216a39f7a064f0c30301731aae79b49d0f SHA512 d6afb481872039eb6ea35c2bb0741fab1839f881044cb92cd9318671c5fddb08e86decb87e9954d9ded33239a7d7387ac1340a35478ee7d049fd742ceb4e0b8b EBUILD serverengine-2.3.0.ebuild 984 BLAKE2B fb443f4138326e7ce9b6b2ba609ab646094b24ab105485d3cce3b21ebbf24a5d5b9ce0b52bf1fdd38e604a21d78d80b70c8f562bf34281b31709f503ad2e8bbd SHA512 fee7d7eb4d271da3887267812bc78863955f9a1a3c2399e462ededdfe5ca91835319ee131bafe329d3303c17d94f3b250d63e2d2f6fb8bcb8d1280acd485635c +EBUILD serverengine-2.3.1.ebuild 1004 BLAKE2B 8b7e7250faeeccbf7d4dc43ed0da66c494699461fa5697445d3dcba461ed79ce465e3402376bc9140cc52e8c6d33c57ae005b1768444b8dc238d06fa5f2ccd98 SHA512 c74c9d3aeb9dfaae148c864d33639a63e340ed2ed9844a32704da67e800a05e683cbc73040eeb01da9a077bd66e6ae6630f1eaa818cb5d69d37cc177927c8c59 MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/serverengine/serverengine-2.3.1.ebuild b/dev-ruby/serverengine/serverengine-2.3.1.ebuild new file mode 100644 index 000000000000..790f93f3dcb5 --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=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/2.13.0/3.0/' \ + -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 +} |