commit: 5fbc9aab5f72ac5a32c749ba255ece5b3fa7e8bd Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Jul 15 06:47:46 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Jul 15 08:09:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fbc9aab
dev-ruby/org-ruby: enable ruby30, ruby31 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild b/dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild index d8552473aab2..324309d810d9 100644 --- a/dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild +++ b/dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" -RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_RECIPE_DOC="none" RUBY_FAKEGEM_EXTRADOC="README.org History.org" RUBY_FAKEGEM_GEMSPEC="org-ruby.gemspec" @@ -26,6 +26,5 @@ ruby_add_rdepend ">=dev-ruby/rubypants-0.2:0" ruby_add_bdepend "test? ( dev-ruby/tilt )" all_ruby_prepare() { - #Fix tests until rspec:3 is available in the tree - sed -i -e "s/truthy/true/" -e "s/falsy/false/" spec/headline_spec.rb spec/parser_spec.rb spec/line_spec.rb || die + sed -i -e '1irequire "pathname"' spec/spec_helper.rb || die }