From 4237f73622387533deb4e8986aa6d0d9e9184a78 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 14 Mar 2024 15:33:10 +0100 Subject: dev-ruby/ice_nine: update EAPI 7 -> 8 Signed-off-by: Hans de Graaff --- dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild (limited to 'dev-ruby/ice_nine') diff --git a/dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild b/dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild new file mode 100644 index 000000000000..f814a8391c0d --- /dev/null +++ b/dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="README.md TODO CONTRIBUTING.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Deep Freeze Ruby Objects" +HOMEPAGE="https://rubygems.org/gems/ice_nine https://github.com/dkubb/ice_nine" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +# Some tests are broken on Ruby 3 and require a new release upstream. +RESTRICT="test" + +all_ruby_prepare() { + sed -e '/devtools/ s:^:#:' \ + -e "/devtools/aDir['./spec/shared/**/*.rb'].each(&Kernel.method(:require))" \ + -i spec/spec_helper.rb || die +} -- cgit v1.2.3-65-gdbad