summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-03 07:38:28 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-03 07:43:19 +0100
commit602992c2e800d3c94d4397cdc7e811e849e05bb0 (patch)
treed9f3cc5154b47598c3015065d86a94ea491bde9e /dev-ruby/descendants_tracker
parentdev-ruby/ice_nine: cleanup (diff)
downloadgentoo-602992c2e800d3c94d4397cdc7e811e849e05bb0.tar.gz
gentoo-602992c2e800d3c94d4397cdc7e811e849e05bb0.tar.bz2
gentoo-602992c2e800d3c94d4397cdc7e811e849e05bb0.zip
dev-ruby/descendants_tracker: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/descendants_tracker')
-rw-r--r--dev-ruby/descendants_tracker/descendants_tracker-0.0.4-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/descendants_tracker/descendants_tracker-0.0.4-r1.ebuild b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4-r1.ebuild
new file mode 100644
index 000000000000..73fa7c8e28bb
--- /dev/null
+++ b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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
+}