diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-14 15:33:10 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-15 07:07:44 +0100 |
commit | 4237f73622387533deb4e8986aa6d0d9e9184a78 (patch) | |
tree | ad34cc79bb65c482022913d8e7c1c2a93c650ea3 /dev-ruby/ice_nine | |
parent | app-text/a2ps: suppress gnulib FPs (diff) | |
download | gentoo-4237f73622387533deb4e8986aa6d0d9e9184a78.tar.gz gentoo-4237f73622387533deb4e8986aa6d0d9e9184a78.tar.bz2 gentoo-4237f73622387533deb4e8986aa6d0d9e9184a78.zip |
dev-ruby/ice_nine: update EAPI 7 -> 8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ice_nine')
-rw-r--r-- | dev-ruby/ice_nine/ice_nine-0.11.2-r2.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
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 +} |