1 |
commit: 5a32cf169e4c84dfde402089523e09f60e494aa1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 05:51:15 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 07:13:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a32cf16 |
7 |
|
8 |
dev-ruby/io-wait: enable ruby31, fix test setup |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833262 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/io-wait/io-wait-0.2.1.ebuild | 6 +++++- |
14 |
1 file changed, 5 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-ruby/io-wait/io-wait-0.2.1.ebuild b/dev-ruby/io-wait/io-wait-0.2.1.ebuild |
17 |
index 9a4ccbcf463c..4def09c942da 100644 |
18 |
--- a/dev-ruby/io-wait/io-wait-0.2.1.ebuild |
19 |
+++ b/dev-ruby/io-wait/io-wait-0.2.1.ebuild |
20 |
@@ -2,7 +2,7 @@ |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
EAPI=8 |
24 |
-USE_RUBY="ruby26 ruby27 ruby30" |
25 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
26 |
|
27 |
RUBY_FAKEGEM_BINWRAP="" |
28 |
RUBY_FAKEGEM_EXTENSIONS="ext/io/wait/extconf.rb" |
29 |
@@ -26,3 +26,7 @@ all_ruby_prepare() { |
30 |
-i ${RUBY_FAKEGEM_GEMSPEC} || die |
31 |
sed -e '/task :test/ s:^:#:' -i Rakefile || die |
32 |
} |
33 |
+ |
34 |
+each_ruby_test() { |
35 |
+ ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die |
36 |
+} |