diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-08 11:53:43 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-08 12:01:05 +0200 |
commit | 1dfdd847b0d205543681825a08439281274d95ba (patch) | |
tree | 76f7961dbf9332affaa75eaca5604587bde26a83 /dev-ruby/rbtree | |
parent | dev-util/pkgcheck: drop 0.10.22-r1 (diff) | |
download | gentoo-1dfdd847b0d205543681825a08439281274d95ba.tar.gz gentoo-1dfdd847b0d205543681825a08439281274d95ba.tar.bz2 gentoo-1dfdd847b0d205543681825a08439281274d95ba.zip |
dev-ruby/rbtree: enable ruby31, ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rbtree')
-rw-r--r-- | dev-ruby/rbtree/rbtree-0.4.6.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-ruby/rbtree/rbtree-0.4.6.ebuild b/dev-ruby/rbtree/rbtree-0.4.6.ebuild index 78a13193347b..9bed1dcba918 100644 --- a/dev-ruby/rbtree/rbtree-0.4.6.ebuild +++ b/dev-ruby/rbtree/rbtree-0.4.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb) @@ -16,6 +16,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +all_ruby_prepare() { + sed -i -e '/test_pp/aomit "Fragile for whitespace"' test.rb || die +} + each_ruby_test() { - ${RUBY} test.rb || die + RUBY_LIB=lib ${RUBY} test.rb || die } |