commit:     5387723150e0a1e9ccad3d0f9cdfea741a068166
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 06:16:35 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 06:16:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53877231

dev-ruby/thor: fix tests

Closes: https://bugs.gentoo.org/724058
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/thor/thor-1.1.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/thor/thor-1.1.0.ebuild b/dev-ruby/thor/thor-1.1.0.ebuild
index b14819b6a86..db53dd7fc80 100644
--- a/dev-ruby/thor/thor-1.1.0.ebuild
+++ b/dev-ruby/thor/thor-1.1.0.ebuild
@@ -48,8 +48,11 @@ all_ruby_prepare() {
        # bug 430402
        sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' 
spec/shell/basic_spec.rb || die
 
+       # Avoid specs depending on git, bug 724058
+       rm -f spec/quality_spec.rb || die
+
        # Avoid currently broken readline specs (already fixed upstream)
-       rm -f spec/line_editor/readline_spec.rb spec/line_editor_spec.rb || die
+       #rm -f spec/line_editor/readline_spec.rb spec/line_editor_spec.rb || die
 }
 
 each_ruby_test() {

Reply via email to