summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-28 08:18:11 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-28 08:18:11 +0100
commit68af78bb7534e1ea5208146e992d4b8a5e9fd2e9 (patch)
treeafca68791a17a9549d94c3d57d59286d0d603850 /dev-ruby/serverengine
parentdev-ruby/rouge: add 4.0.1 (diff)
downloadgentoo-68af78bb7534e1ea5208146e992d4b8a5e9fd2e9.tar.gz
gentoo-68af78bb7534e1ea5208146e992d4b8a5e9fd2e9.tar.bz2
gentoo-68af78bb7534e1ea5208146e992d4b8a5e9fd2e9.zip
dev-ruby/serverengine: add 2.3.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r--dev-ruby/serverengine/Manifest1
-rw-r--r--dev-ruby/serverengine/serverengine-2.3.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest
index 8eae91a4f5b9..681a2fe08219 100644
--- a/dev-ruby/serverengine/Manifest
+++ b/dev-ruby/serverengine/Manifest
@@ -1 +1,2 @@
DIST serverengine-2.3.0.gem 42496 BLAKE2B 944e0e6b6bd31b6609e21fac0ea688b9a4acac3b02c4c1f06a34fe29a51c67db79e9a55c43243ce601d42a30b31ca1da605caeab05bdd9587536c4fb540bb5ce SHA512 0887ac556f9f4faa7d8e25743b2f79694153c0e7e39666c8ea02d0313c17835e0e5697da498ad1b23612ec938d8d9f430cfb9699711479ae088011c5a7fee4c4
+DIST serverengine-2.3.1.gem 43008 BLAKE2B 81bee04d87bbb67b048dc6aa423f1eee431776d9cd2f215854cdba2abe9c5bc14a5575b42129cc91780a893509ba38216a39f7a064f0c30301731aae79b49d0f SHA512 d6afb481872039eb6ea35c2bb0741fab1839f881044cb92cd9318671c5fddb08e86decb87e9954d9ded33239a7d7387ac1340a35478ee7d049fd742ceb4e0b8b
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
+}