commit:     691c94e28f9a4f528294c001162b419e016955f6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  1 10:21:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 10:56:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=691c94e2

games-strategy/0ad: add python-any-r1 for SpiderMonkey

Needed at buildtime for SpiderMonkey.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-strategy/0ad/0ad-0.0.24b_alpha.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild 
b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild
index 3aa595b69b9..a36405f4744 100644
--- a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild
+++ b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild
@@ -4,8 +4,8 @@
 EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
-
-inherit desktop toolchain-funcs multiprocessing wxwidgets xdg
+PYTHON_COMPAT=( python3_{7..9} )
+inherit desktop toolchain-funcs multiprocessing python-any-r1 wxwidgets xdg
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
@@ -38,9 +38,11 @@ IUSE="editor +lobby nvtt pch test"
 RESTRICT="test"
 
 # 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 )

Reply via email to