summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-16 07:26:38 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-16 07:27:12 +0100
commit3fcc47508c175cc588c448dba91907e61c1e1054 (patch)
treed94898ecad7765d5ecb854683df03414b14961ed /dev-ruby
parentdev-ruby/mime-types-data: amd64 stable (diff)
downloadgentoo-3fcc47508c175cc588c448dba91907e61c1e1054.tar.gz
gentoo-3fcc47508c175cc588c448dba91907e61c1e1054.tar.bz2
gentoo-3fcc47508c175cc588c448dba91907e61c1e1054.zip
dev-ruby/forwardable-extended: 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')
-rw-r--r--dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild
new file mode 100644
index 000000000000..79fbcede11cb
--- /dev/null
+++ b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild
@@ -0,0 +1,26 @@
+# 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_GEMSPEC="Gem.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Forwardable with hash, and instance variable extensions"
+HOMEPAGE="https://rubygems.org/gems/forwardable-extended https://github.com/envygeeks/forwardable-extended"
+SRC_URI="https://github.com/envygeeks/forwardable-extended/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' spec/rspec/helper.rb || die
+ rm -f spec/support/coverage.rb || die
+}