diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-05 07:35:18 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-05 07:36:24 +0200 |
commit | 91ee6a54baa66c51cd7f3da7b38282d5e10e6ca3 (patch) | |
tree | 391e3942b83106b481443a2ac602df66250f0e18 /dev-ruby | |
parent | www-apache/passenger: add 5.2.3 (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-ruby/serverengine/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/serverengine/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/serverengine/serverengine-2.0.6.ebuild | 35 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest new file mode 100644 index 000000000000..d6dca6785f51 --- /dev/null +++ b/dev-ruby/serverengine/Manifest @@ -0,0 +1 @@ +DIST serverengine-2.0.6.gem 38400 BLAKE2B 51722d222bfcb9c0063f64ceed666be147bcb4dce9947fd60b723507c5f3e2479b445902bd2a2e985d0a8216462b91b1545ccc458e36e7134fa11a4a746302a7 SHA512 ffb35eb51226793181a5266e3ddaf3255ce38e7fda90c2257fa16044829199dc5ee30cb9c38925f1820cb20fd36d01a47af0a8cbee96edc0ecb5206e2ab17da3 diff --git a/dev-ruby/serverengine/metadata.xml b/dev-ruby/serverengine/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/serverengine/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> +</maintainer> +</pkgmetadata> 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 +} |