summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-05 07:35:18 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-05 07:36:24 +0200
commit91ee6a54baa66c51cd7f3da7b38282d5e10e6ca3 (patch)
tree391e3942b83106b481443a2ac602df66250f0e18 /dev-ruby/serverengine/serverengine-2.0.6.ebuild
parentwww-apache/passenger: add 5.2.3 (diff)
downloadgentoo-91ee6a54baa66c51cd7f3da7b38282d5e10e6ca3.tar.gz
gentoo-91ee6a54baa66c51cd7f3da7b38282d5e10e6ca3.tar.bz2
gentoo-91ee6a54baa66c51cd7f3da7b38282d5e10e6ca3.zip
dev-ruby/serverengine: initial import of 2.0.6
Dependency for forthcoming app-admin/fluentd, bug 652434. Moved from the "graaff" overlay. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/serverengine/serverengine-2.0.6.ebuild')
-rw-r--r--dev-ruby/serverengine/serverengine-2.0.6.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/serverengine-2.0.6.ebuild b/dev-ruby/serverengine/serverengine-2.0.6.ebuild
new file mode 100644
index 000000000000..c09a6a09cb02
--- /dev/null
+++ b/dev-ruby/serverengine/serverengine-2.0.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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
+}