summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild')
-rw-r--r--dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild
new file mode 100644
index 000000000000..45b9e9eeb26e
--- /dev/null
+++ b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Module that adds descendant tracking to a class"
+HOMEPAGE="https://github.com/dkubb/descendants_tracker"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/thread_safe"
+
+all_ruby_prepare() {
+ # Remove dependency on devtools
+ sed -i -e '/devtools\/spec_helper/d' spec/spec_helper.rb || die
+ sed -i -e '/it_should_behave_like/d' \
+ spec/unit/descendants_tracker/add_descendant_spec.rb || die
+ sed -i -e '/it_should_behave_like/d' \
+ spec/unit/descendants_tracker/descendants_spec.rb || die
+}