diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-13 08:00:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-13 08:14:06 +0100 |
commit | 911b53467f28b4fd646a7254b6d71015d59312fa (patch) | |
tree | f3aaeb3d6d4083599f62fc62ae162906db514807 /dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild | |
parent | media-sound/sndio: Keyword 1.9.0 mips, #900238 (diff) | |
download | gentoo-911b53467f28b4fd646a7254b6d71015d59312fa.tar.gz gentoo-911b53467f28b4fd646a7254b6d71015d59312fa.tar.bz2 gentoo-911b53467f28b4fd646a7254b6d71015d59312fa.zip |
dev-ruby/blankslate: update EAPI 7 -> 8, add ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild')
-rw-r--r-- | dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild b/dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild new file mode 100644 index 000000000000..baf2ec440ebc --- /dev/null +++ b/dev-ruby/blankslate/blankslate-3.1.3-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="README" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Base class with almost all of the methods from Object and Kernel being removed" +HOMEPAGE="https://rubygems.org/gems/blankslate" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +all_ruby_prepare() { + # Avoid test failing with rspec 2.x. + sed -i -e '/cleanliness/,/^ end/ s:^:#:' spec/blankslate_spec.rb || die +} |