diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 10:00:03 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-23 07:14:53 +0200 |
commit | af907a6547489be908896f2375839e4d221ad7e6 (patch) | |
tree | c82bf19579ea0526e8c777e20faaf4e5adac25ff /dev-ruby | |
parent | dev-ruby/rbnacl: enable ruby31 and disable ruby25 (diff) | |
download | gentoo-af907a6547489be908896f2375839e4d221ad7e6.tar.gz gentoo-af907a6547489be908896f2375839e4d221ad7e6.tar.bz2 gentoo-af907a6547489be908896f2375839e4d221ad7e6.zip |
dev-ruby/rb-readline: update EAPI 6 -> 8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild new file mode 100644 index 000000000000..96b7e3a4e22b --- /dev/null +++ b/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of the GNU readline C library" +HOMEPAGE="https://rubygems.org/gems/rb-readline" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "dev-ruby/rake + >=dev-ruby/minitest-5.2" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Skip a test that fails when run in the ebuild environment. + sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die +} |