summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-22 20:04:10 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-22 20:11:27 +0100
commita73726df33ae74451a59122e47b2602cbc65fb2f (patch)
treeaa59804f2df92c9bad04096689244fe865bda079 /dev-ruby/spy
parentdev-ruby/spy: cleanup (diff)
downloadgentoo-a73726df33ae74451a59122e47b2602cbc65fb2f.tar.gz
gentoo-a73726df33ae74451a59122e47b2602cbc65fb2f.tar.bz2
gentoo-a73726df33ae74451a59122e47b2602cbc65fb2f.zip
dev-ruby/spy: 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/spy')
-rw-r--r--dev-ruby/spy/spy-1.0.1-r1.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/spy/spy-1.0.1-r1.ebuild b/dev-ruby/spy/spy-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..87603d6939fa
--- /dev/null
+++ b/dev-ruby/spy/spy-1.0.1-r1.ebuild
@@ -0,0 +1,23 @@
+# 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_EXTRADOC="README.md CHANGELOG.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple opinionated mocking framework"
+HOMEPAGE="https://github.com/ryanong/spy"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e "/bundler/d" -e "/pry/d" -e "/[Cc]overalls/d" -e '/[Rr]eporters/d' Rakefile test/test_helper.rb || die
+}