diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-07-15 08:47:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-07-15 10:09:19 +0200 |
commit | 5fbc9aab5f72ac5a32c749ba255ece5b3fa7e8bd (patch) | |
tree | 15146b859e1db90f02281a73d5d30bebb7ceeda7 /dev-ruby/org-ruby | |
parent | dev-ruby/rr: add 3.1.0 (diff) | |
download | gentoo-5fbc9aab5f72ac5a32c749ba255ece5b3fa7e8bd.tar.gz gentoo-5fbc9aab5f72ac5a32c749ba255ece5b3fa7e8bd.tar.bz2 gentoo-5fbc9aab5f72ac5a32c749ba255ece5b3fa7e8bd.zip |
dev-ruby/org-ruby: enable ruby30, ruby31
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/org-ruby')
-rw-r--r-- | dev-ruby/org-ruby/org-ruby-0.9.12-r1.ebuild | 9 |
1 files 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 } |