summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-29 09:58:34 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-29 10:00:15 +0100
commitc5a80dde8c63296268ba4033e60db65d80fadcd8 (patch)
tree7265f26202675c71f1128f273268d35eeb8b39a5 /dev-ruby/celluloid-supervision
parentdev-ruby/celluloid-essentials: add celluloid 0.17.2 (diff)
downloadgentoo-c5a80dde8c63296268ba4033e60db65d80fadcd8.tar.gz
gentoo-c5a80dde8c63296268ba4033e60db65d80fadcd8.tar.bz2
gentoo-c5a80dde8c63296268ba4033e60db65d80fadcd8.zip
dev-ruby/celluloid-supervision: add celluloid 0.17.2
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/celluloid-supervision')
-rw-r--r--dev-ruby/celluloid-supervision/Manifest1
-rw-r--r--dev-ruby/celluloid-supervision/celluloid-supervision-0.20.5.ebuild38
-rw-r--r--dev-ruby/celluloid-supervision/metadata.xml8
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/celluloid-supervision/Manifest b/dev-ruby/celluloid-supervision/Manifest
new file mode 100644
index 000000000000..716d71c7d593
--- /dev/null
+++ b/dev-ruby/celluloid-supervision/Manifest
@@ -0,0 +1 @@
+DIST celluloid-supervision-0.20.5.tar.gz 16404 SHA256 503dad4bbda90f8c6d0a092f128fa68f48ab24b8fc7707baa38bd208b65af5ea SHA512 0fca953b6ade756574040b8e34e8ac4ea3d392628a9fb14a8d52f39ca3f92371e335520b673dec8fc9a4a44a208b38f51c9c23e2218510078ded64c903533bc8 WHIRLPOOL 665a4594e1cb063d7895cb1abd428518cb8b63d4127571854a372ddbd4955957ee04a838e1d1622197e109bb23a268b75a040b559240df7c25261324e2f2199f
diff --git a/dev-ruby/celluloid-supervision/celluloid-supervision-0.20.5.ebuild b/dev-ruby/celluloid-supervision/celluloid-supervision-0.20.5.ebuild
new file mode 100644
index 000000000000..39eb45315a30
--- /dev/null
+++ b/dev-ruby/celluloid-supervision/celluloid-supervision-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-supervision/metadata.xml b/dev-ruby/celluloid-supervision/metadata.xml
new file mode 100644
index 000000000000..c996e6b738eb
--- /dev/null
+++ b/dev-ruby/celluloid-supervision/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-supervision</remote-id>
+ </upstream>
+</pkgmetadata>