1 |
commit: 06e05ef300564f63090d186202219a17c7130e4a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 5 10:04:49 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 6 07:07:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e05ef3 |
7 |
|
8 |
dev-ruby/minitest: avoid test dep on dev-ruby/hoe |
9 |
|
10 |
Closes: https://bugs.gentoo.org/867289 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/minitest/minitest-5.16.3.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/minitest/minitest-5.16.3.ebuild b/dev-ruby/minitest/minitest-5.16.3.ebuild |
17 |
index 49e898624368..87fd4abad7db 100644 |
18 |
--- a/dev-ruby/minitest/minitest-5.16.3.ebuild |
19 |
+++ b/dev-ruby/minitest/minitest-5.16.3.ebuild |
20 |
@@ -17,6 +17,11 @@ SLOT="5" |
21 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
22 |
IUSE="doc test" |
23 |
|
24 |
+all_ruby_prepare() { |
25 |
+ # Avoid a test dependency on dev-ruby/hoe, leading to circular dependencies |
26 |
+ rm -f test/minitest/test_minitest_test_task.rb || die |
27 |
+} |
28 |
+ |
29 |
each_ruby_test() { |
30 |
export -n A |
31 |
MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" |