summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-14 07:13:32 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-14 07:13:41 +0200
commit6a74542e402bfa10a5759bbe0184251298614c96 (patch)
tree8930655880a9a3792a0f88cf28e2124f0e756028 /dev-ruby/serverengine
parentdev-python/platformdirs: Remove old (diff)
downloadgentoo-6a74542e402bfa10a5759bbe0184251298614c96.tar.gz
gentoo-6a74542e402bfa10a5759bbe0184251298614c96.tar.bz2
gentoo-6a74542e402bfa10a5759bbe0184251298614c96.zip
dev-ruby/serverengine: add 2.3.0
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.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest
index 46ebcf03af8d..84a124c0e776 100644
--- a/dev-ruby/serverengine/Manifest
+++ b/dev-ruby/serverengine/Manifest
@@ -1 +1,2 @@
DIST serverengine-2.2.5.gem 40960 BLAKE2B a7b256c1029c38b35673d104f6aba118bc5644947db7feb185d57456af60baebafb3c6a74996998630b7a0dbe3ee0baa5d4f260538ca7a8abf542b7528cd7204 SHA512 fb4abbf35553b8d69447be195a14018e335cbce0756b9ae91160bc4dc8253968a4b94c383f40aad1e1bd20aaeb700efced91341f3b26077a0d44b3dc00aa89c7
+DIST serverengine-2.3.0.gem 42496 BLAKE2B 944e0e6b6bd31b6609e21fac0ea688b9a4acac3b02c4c1f06a34fe29a51c67db79e9a55c43243ce601d42a30b31ca1da605caeab05bdd9587536c4fb540bb5ce SHA512 0887ac556f9f4faa7d8e25743b2f79694153c0e7e39666c8ea02d0313c17835e0e5697da498ad1b23612ec938d8d9f430cfb9699711479ae088011c5a7fee4c4
diff --git a/dev-ruby/serverengine/serverengine-2.3.0.ebuild b/dev-ruby/serverengine/serverengine-2.3.0.ebuild
new file mode 100644
index 000000000000..bab728791f52
--- /dev/null
+++ b/dev-ruby/serverengine/serverengine-2.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+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 )"
+
+all_ruby_prepare() {
+ sed -i -e '/rake/ s/~>/>=/' \
+ -e '/rspec/ s/2.13.0/2.13/' \
+ -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die
+}
+
+each_ruby_test() {
+ # The specs spawn ruby processes with bundler support
+ ${RUBY} -S bundle exec rspec-2 spec || die
+}