summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-29 09:58:42 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-29 10:00:20 +0100
commitd4e0bee3998b72d55b9528a67a536a87bd7b388e (patch)
treea80d3e5e628dba08cdcd8e667997c74b494a03c6 /dev-ruby/celluloid-fsm
parentdev-ruby/celluloid-extras: add celluloid 0.17.2 (diff)
downloadgentoo-d4e0bee3998b72d55b9528a67a536a87bd7b388e.tar.gz
gentoo-d4e0bee3998b72d55b9528a67a536a87bd7b388e.tar.bz2
gentoo-d4e0bee3998b72d55b9528a67a536a87bd7b388e.zip
dev-ruby/celluloid-fsm: add celluloid 0.17.2
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/celluloid-fsm')
-rw-r--r--dev-ruby/celluloid-fsm/Manifest1
-rw-r--r--dev-ruby/celluloid-fsm/celluloid-fsm-0.20.5.ebuild38
-rw-r--r--dev-ruby/celluloid-fsm/metadata.xml8
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/celluloid-fsm/Manifest b/dev-ruby/celluloid-fsm/Manifest
new file mode 100644
index 000000000000..b6ee0470782d
--- /dev/null
+++ b/dev-ruby/celluloid-fsm/Manifest
@@ -0,0 +1 @@
+DIST celluloid-fsm-0.20.5.tar.gz 8500 SHA256 e62f33da443abf6991c6578201cd392cc5f99b77ccee1c29de5834365a39d12e SHA512 b5d622a1192332dc84f9cd074e143da731304d2640f37a4123e6905f91cdb0ad238663254a4de05ecd2071519b12eb3ac44e608aac8d968b9a9d32726d88ba07 WHIRLPOOL b45f2bba9d7fc5727383321ef5a2a93203ede7d0d233b4f93411e0f8e10c6a946cce27307c78b60da481df7bb83cf747655b297cc5cb9e2d51053bf8a0d027c0
diff --git a/dev-ruby/celluloid-fsm/celluloid-fsm-0.20.5.ebuild b/dev-ruby/celluloid-fsm/celluloid-fsm-0.20.5.ebuild
new file mode 100644
index 000000000000..39eb45315a30
--- /dev/null
+++ b/dev-ruby/celluloid-fsm/celluloid-fsm-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-fsm/metadata.xml b/dev-ruby/celluloid-fsm/metadata.xml
new file mode 100644
index 000000000000..50d71109e95f
--- /dev/null
+++ b/dev-ruby/celluloid-fsm/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-fsm</remote-id>
+ </upstream>
+</pkgmetadata>