summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-11-17 07:57:57 +0100
committerHans de Graaff <graaff@gentoo.org>2019-11-17 08:36:25 +0100
commitdf6d820867e89679d8c9d93df809f09ce6e2a99c (patch)
tree730002d17580c4ee4564da491708e385feeb3390 /dev-ruby/serverengine
parentdev-ruby/hiera-eyaml-gpg: cleanup (diff)
downloadgentoo-df6d820867e89679d8c9d93df809f09ce6e2a99c.tar.gz
gentoo-df6d820867e89679d8c9d93df809f09ce6e2a99c.tar.bz2
gentoo-df6d820867e89679d8c9d93df809f09ce6e2a99c.zip
dev-ruby/serverengine: add 2.2.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16 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.2.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest
index 93f348fc214a..57e1c7be03cc 100644
--- a/dev-ruby/serverengine/Manifest
+++ b/dev-ruby/serverengine/Manifest
@@ -1 +1,2 @@
DIST serverengine-2.1.1.gem 38912 BLAKE2B 110adef1bfc4538dcbd9cddc5aabcda00f0e6276f3092cccd54bdd92d644bc6121300c1963276d3bbb810fc2be44c9c833d1d74b524b3d7faae8424b98e45e3f SHA512 627ba0ad0235536009ed22cca017d23d76ad7863b9ed83e90504d374bb3c1b887c73ed0b120378327485ba7c68a18bf354228529da84e134ac4d3b6dd96d14e1
+DIST serverengine-2.2.0.gem 38912 BLAKE2B 78af0816c480613e7e85ebd9d1061888af311a4eff045b59e4224cb86738193fe0bef25d435c891231b7b7c3397f25970b8ddd8fead09393e9fe7824bce03025 SHA512 a6ef8fc094a1306524357c740ba198d0ac0fecbd1716e873ce25d3caae9874e4c73424c5fb4e3d60886bb9e613651288f24085ae7c0a244bcd27c606d5a843c7
diff --git a/dev-ruby/serverengine/serverengine-2.2.0.ebuild b/dev-ruby/serverengine/serverengine-2.2.0.ebuild
new file mode 100644
index 000000000000..8895caeaffc0
--- /dev/null
+++ b/dev-ruby/serverengine/serverengine-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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
+}