summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-08-27 00:30:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-08-27 10:55:38 +0100
commit9dbf2b36f30797c1871979615ce98bacf1cad7ba (patch)
tree6ac8cdd43586c2e0551b274780502f04de766046 /games-arcade/open-supaplex
parentpackage.mask: Limit linkchecker mask to old versions (diff)
downloadgentoo-9dbf2b36f30797c1871979615ce98bacf1cad7ba.tar.gz
gentoo-9dbf2b36f30797c1871979615ce98bacf1cad7ba.tar.bz2
gentoo-9dbf2b36f30797c1871979615ce98bacf1cad7ba.zip
games-arcade/open-supaplex: don't require rubygems
Closes: https://bugs.gentoo.org/739126 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/17274 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-arcade/open-supaplex')
-rw-r--r--games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
index 73f47b1b3109..342e8a21d5f7 100644
--- a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
+++ b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
@@ -38,7 +38,12 @@ src_test() {
# Avoid installing savegames, configs, etc, if any were written during the test
cp -R resources "${T}/test" || die
cd tests || die
- OPENSUPAPLEX_PATH="${T}/test" ./run-tests.rb ./opensupaplex || die
+ # gems are not used by the test, but by default ruby fails to start if
+ # dev-ruby/rubygems is not installed. dev-lang/ruby depends on that package
+ # via PDEPEND which is why it's not available if ruby was pulled as a
+ # dependency to open-supaplex on clean machine.
+ # https://bugs.gentoo.org/739126
+ OPENSUPAPLEX_PATH="${T}/test" ruby --disable=gems ./run-tests.rb ./opensupaplex || die
}
src_install() {