commit:     af907a6547489be908896f2375839e4d221ad7e6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 08:00:03 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 05:14:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af907a65

dev-ruby/rb-readline: update EAPI 6 -> 8

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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
+}

Reply via email to