1 |
commit: 9dbf2b36f30797c1871979615ce98bacf1cad7ba |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Wed Aug 26 23:30:24 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 09:55:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbf2b36 |
7 |
|
8 |
games-arcade/open-supaplex: don't require rubygems |
9 |
|
10 |
Closes: https://bugs.gentoo.org/739126 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/17274 |
14 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
15 |
|
16 |
games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild | 7 ++++++- |
17 |
1 file changed, 6 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild |
20 |
index 73f47b1b310..342e8a21d5f 100644 |
21 |
--- a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild |
22 |
+++ b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild |
23 |
@@ -38,7 +38,12 @@ src_test() { |
24 |
# Avoid installing savegames, configs, etc, if any were written during the test |
25 |
cp -R resources "${T}/test" || die |
26 |
cd tests || die |
27 |
- OPENSUPAPLEX_PATH="${T}/test" ./run-tests.rb ./opensupaplex || die |
28 |
+ # gems are not used by the test, but by default ruby fails to start if |
29 |
+ # dev-ruby/rubygems is not installed. dev-lang/ruby depends on that package |
30 |
+ # via PDEPEND which is why it's not available if ruby was pulled as a |
31 |
+ # dependency to open-supaplex on clean machine. |
32 |
+ # https://bugs.gentoo.org/739126 |
33 |
+ OPENSUPAPLEX_PATH="${T}/test" ruby --disable=gems ./run-tests.rb ./opensupaplex || die |
34 |
} |
35 |
|
36 |
src_install() { |