summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-29 09:58:50 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-29 10:00:25 +0100
commit40052f16f41e99fca8f10f6e2fc0d47ddbdd47a4 (patch)
tree77251308d657a700bb7e7af207990cbef4cc63e5 /dev-ruby/celluloid-pool
parentdev-ruby/celluloid-fsm: add celluloid 0.17.2 (diff)
downloadgentoo-40052f16f41e99fca8f10f6e2fc0d47ddbdd47a4.tar.gz
gentoo-40052f16f41e99fca8f10f6e2fc0d47ddbdd47a4.tar.bz2
gentoo-40052f16f41e99fca8f10f6e2fc0d47ddbdd47a4.zip
dev-ruby/celluloid-pool: add celluloid 0.17.2
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/celluloid-pool')
-rw-r--r--dev-ruby/celluloid-pool/Manifest1
-rw-r--r--dev-ruby/celluloid-pool/celluloid-pool-0.20.5.ebuild38
-rw-r--r--dev-ruby/celluloid-pool/metadata.xml8
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/celluloid-pool/Manifest b/dev-ruby/celluloid-pool/Manifest
new file mode 100644
index 000000000000..7766954bb31c
--- /dev/null
+++ b/dev-ruby/celluloid-pool/Manifest
@@ -0,0 +1 @@
+DIST celluloid-pool-0.20.5.tar.gz 8796 SHA256 9ced0aab473b73044e0d8eccb7524e5865d92a2add9db917585792a721c80f76 SHA512 6bded1ee7bfeaebddd49af9c5d72d078da9ebd6817cebd6124f95c0303e20ea31417930e71680e9d75bd0ce21689e7b409cd13132d8f802d51b9eced67a79ae5 WHIRLPOOL b5309229f8667ee747ad5c07438b22460ebd87b525a154ad05239f87cd500c7f8d6c0f1dd5922fd396e946c78082c348b337256ac3e2de5f4bf2d0cc318191cc
diff --git a/dev-ruby/celluloid-pool/celluloid-pool-0.20.5.ebuild b/dev-ruby/celluloid-pool/celluloid-pool-0.20.5.ebuild
new file mode 100644
index 000000000000..39eb45315a30
--- /dev/null
+++ b/dev-ruby/celluloid-pool/celluloid-pool-0.20.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a simple and natural way to build fault-tolerant concurrent programs"
+HOMEPAGE="https://github.com/celluloid/celluloid"
+SRC_URI="https://github.com/celluloid/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+IUSE=""
+SLOT="0"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+ruby_add_rdepend "
+ >=dev-ruby/timers-4.1.1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/celluloid-0.17.2
+ dev-ruby/dotenv
+ dev-ruby/nenv
+ dev-ruby/rspec-retry
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/d' -e '/coveralls/I s:^:#:' spec/spec_helper.rb || die
+
+ sed -i -e '1irequire "pathname"' spec/spec_helper.rb || die
+ sed -i -e "s:log/test.log:${TMPDIR}/test.log:" .env-dev || die
+}
diff --git a/dev-ruby/celluloid-pool/metadata.xml b/dev-ruby/celluloid-pool/metadata.xml
new file mode 100644
index 000000000000..8f11e10b9436
--- /dev/null
+++ b/dev-ruby/celluloid-pool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <upstream>
+ <remote-id type="github">celluloid/celluloid-pool</remote-id>
+ </upstream>
+</pkgmetadata>