commit:     2ecc31a55cdc78c8ce60f4baed69b7229cbf77e4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 28 19:26:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 28 19:26:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecc31a5

games-strategy/0ad: add virtual/rust dep to older version

Closes: https://bugs.gentoo.org/792681
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild     | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild 
b/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild
index 7826f504366..849ecb4aaef 100644
--- a/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild
+++ b/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild
@@ -4,7 +4,8 @@
 EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
-inherit desktop toolchain-funcs wxwidgets xdg
+PYTHON_COMPAT=( python3_{7..9} )
+inherit desktop toolchain-funcs python-any-r1 wxwidgets xdg
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
@@ -36,9 +37,16 @@ KEYWORDS="~amd64 ~x86"
 IUSE="editor +lobby nvtt pch test"
 RESTRICT="test"
 
-BDEPEND="virtual/pkgconfig
-       test? ( dev-lang/perl )"
-
+# virtual/rust is for bundled SpiderMonkey
+# Build-time Python dependency is for SM too
+# TODO: Unbundle premake5
+# See bug #773472 which may help (bump for it)
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+       virtual/rust
+       test? ( dev-lang/perl )
+"
 # remove dependency on nvtt
 # as we use the bundled one
 # bug #768930

Reply via email to