summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-24 06:34:18 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-24 06:34:18 +0200
commita0f2a2776276fbb69a92d45f495f5db32c5a298e (patch)
treee887d8b1bf8dda9a3f6d60df4851b061d5f88c67 /dev-ruby/serverengine/serverengine-2.1.1.ebuild
parentarm64/package.use.mask: drop mask (diff)
downloadgentoo-a0f2a2776276fbb69a92d45f495f5db32c5a298e.tar.gz
gentoo-a0f2a2776276fbb69a92d45f495f5db32c5a298e.tar.bz2
gentoo-a0f2a2776276fbb69a92d45f495f5db32c5a298e.zip
dev-ruby/serverengine: add 2.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/serverengine/serverengine-2.1.1.ebuild')
-rw-r--r--dev-ruby/serverengine/serverengine-2.1.1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/serverengine-2.1.1.ebuild b/dev-ruby/serverengine/serverengine-2.1.1.ebuild
new file mode 100644
index 000000000000..125a668bc72a
--- /dev/null
+++ b/dev-ruby/serverengine/serverengine-2.1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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
+}