1 |
commit: 2ecc31a55cdc78c8ce60f4baed69b7229cbf77e4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 28 19:26:12 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 28 19:26:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecc31a5 |
7 |
|
8 |
games-strategy/0ad: add virtual/rust dep to older version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/792681 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild | 16 ++++++++++++---- |
14 |
1 file changed, 12 insertions(+), 4 deletions(-) |
15 |
|
16 |
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 |
17 |
index 7826f504366..849ecb4aaef 100644 |
18 |
--- a/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild |
19 |
+++ b/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036-r2.ebuild |
20 |
@@ -4,7 +4,8 @@ |
21 |
EAPI=7 |
22 |
|
23 |
WX_GTK_VER="3.0-gtk3" |
24 |
-inherit desktop toolchain-funcs wxwidgets xdg |
25 |
+PYTHON_COMPAT=( python3_{7..9} ) |
26 |
+inherit desktop toolchain-funcs python-any-r1 wxwidgets xdg |
27 |
|
28 |
if [[ ${PV} == 9999 ]]; then |
29 |
inherit git-r3 |
30 |
@@ -36,9 +37,16 @@ KEYWORDS="~amd64 ~x86" |
31 |
IUSE="editor +lobby nvtt pch test" |
32 |
RESTRICT="test" |
33 |
|
34 |
-BDEPEND="virtual/pkgconfig |
35 |
- test? ( dev-lang/perl )" |
36 |
- |
37 |
+# virtual/rust is for bundled SpiderMonkey |
38 |
+# Build-time Python dependency is for SM too |
39 |
+# TODO: Unbundle premake5 |
40 |
+# See bug #773472 which may help (bump for it) |
41 |
+BDEPEND=" |
42 |
+ ${PYTHON_DEPS} |
43 |
+ virtual/pkgconfig |
44 |
+ virtual/rust |
45 |
+ test? ( dev-lang/perl ) |
46 |
+" |
47 |
# remove dependency on nvtt |
48 |
# as we use the bundled one |
49 |
# bug #768930 |