1 |
commit: 691c94e28f9a4f528294c001162b419e016955f6 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 10:21:46 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 10:56:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=691c94e2 |
7 |
|
8 |
games-strategy/0ad: add python-any-r1 for SpiderMonkey |
9 |
|
10 |
Needed at buildtime for SpiderMonkey. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
games-strategy/0ad/0ad-0.0.24b_alpha.ebuild | 6 ++++-- |
15 |
1 file changed, 4 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
18 |
index 3aa595b69b9..a36405f4744 100644 |
19 |
--- a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
20 |
+++ b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
21 |
@@ -4,8 +4,8 @@ |
22 |
EAPI=7 |
23 |
|
24 |
WX_GTK_VER="3.0-gtk3" |
25 |
- |
26 |
-inherit desktop toolchain-funcs multiprocessing wxwidgets xdg |
27 |
+PYTHON_COMPAT=( python3_{7..9} ) |
28 |
+inherit desktop toolchain-funcs multiprocessing python-any-r1 wxwidgets xdg |
29 |
|
30 |
if [[ ${PV} == 9999 ]]; then |
31 |
inherit git-r3 |
32 |
@@ -38,9 +38,11 @@ IUSE="editor +lobby nvtt pch test" |
33 |
RESTRICT="test" |
34 |
|
35 |
# virtual/rust is for bundled SpiderMonkey |
36 |
+# Build-time Python dependency is for SM too |
37 |
# TODO: Unbundle premake5 |
38 |
# See bug #773472 which may help (bump for it) |
39 |
BDEPEND=" |
40 |
+ ${PYTHON_DEPS} |
41 |
virtual/pkgconfig |
42 |
virtual/rust |
43 |
test? ( dev-lang/perl ) |