dev-ruby/celluloid-essentials: add celluloid 0.17.2
authorHans de Graaff <graaff@gentoo.org>
Tue, 29 Dec 2015 08:58:24 +0000 (09:58 +0100)
committerHans de Graaff <graaff@gentoo.org>
Tue, 29 Dec 2015 09:00:13 +0000 (10:00 +0100)
Package-Manager: portage-2.2.24

dev-ruby/celluloid-essentials/Manifest [new file with mode: 0644]
dev-ruby/celluloid-essentials/celluloid-essentials-0.20.5.ebuild [new file with mode: 0644]
dev-ruby/celluloid-essentials/metadata.xml [new file with mode: 0644]

diff --git a/dev-ruby/celluloid-essentials/Manifest b/dev-ruby/celluloid-essentials/Manifest
new file mode 100644 (file)
index 0000000..3e90916
--- /dev/null
@@ -0,0 +1 @@
+DIST celluloid-essentials-0.20.5.tar.gz 20403 SHA256 48711f0ee47d81e7642114e07c9432e3d616368e3d692bd7ff93340794e0a685 SHA512 66b03babcc5b0795147140e9a1d5552b6f8232c0ad3b444db04f397b919da57d7b4a0fa1427d2d0aa1904c6eefb78ddc7b0a607b8df9e7291d3a1732e6303d33 WHIRLPOOL 0cf735b8040444ac10a38cfd134a53edce3f54ddb6a00f379d0133d1f502ad324f6b86c86421ef4eeb0309bfdbfb401aa73a8257e63fd3d1306def40df1e293e
diff --git a/dev-ruby/celluloid-essentials/celluloid-essentials-0.20.5.ebuild b/dev-ruby/celluloid-essentials/celluloid-essentials-0.20.5.ebuild
new file mode 100644 (file)
index 0000000..f3cff20
--- /dev/null
@@ -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/celluloid-essentials/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
+       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-essentials/metadata.xml b/dev-ruby/celluloid-essentials/metadata.xml
new file mode 100644 (file)
index 0000000..38e154f
--- /dev/null
@@ -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-essentials</remote-id>
+  </upstream>
+</pkgmetadata>