1 |
commit: 58d8e82c970b771a90c8ced0660026da551de494 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue Mar 30 11:53:27 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 11:53:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d8e82c |
7 |
|
8 |
games-strategy/naev: inherit python-any-r1.eclass |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/20198 |
11 |
Closes: https://bugs.gentoo.org/771114 |
12 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
games-strategy/naev/naev-0.8.2.ebuild | 9 ++++++++- |
16 |
1 file changed, 8 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/games-strategy/naev/naev-0.8.2.ebuild b/games-strategy/naev/naev-0.8.2.ebuild |
19 |
index ee450e92050..22f730350b0 100644 |
20 |
--- a/games-strategy/naev/naev-0.8.2.ebuild |
21 |
+++ b/games-strategy/naev/naev-0.8.2.ebuild |
22 |
@@ -4,7 +4,8 @@ |
23 |
EAPI=7 |
24 |
|
25 |
LUA_COMPAT=( lua5-1 luajit ) |
26 |
-inherit lua-single meson virtualx xdg |
27 |
+PYTHON_COMPAT=( python3_{7..9} ) |
28 |
+inherit lua-single meson python-any-r1 virtualx xdg |
29 |
|
30 |
DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity" |
31 |
HOMEPAGE="https://naev.org/ https://github.com/naev/naev" |
32 |
@@ -34,12 +35,18 @@ RDEPEND=" |
33 |
)" |
34 |
DEPEND="${RDEPEND}" |
35 |
BDEPEND=" |
36 |
+ ${PYTHON_DEPS} |
37 |
doc? ( |
38 |
app-doc/doxygen |
39 |
dev-lua/ldoc |
40 |
) |
41 |
nls? ( sys-devel/gettext )" |
42 |
|
43 |
+pkg_setup() { |
44 |
+ lua-single_pkg_setup |
45 |
+ python-any-r1_pkg_setup |
46 |
+} |
47 |
+ |
48 |
src_prepare() { |
49 |
default |
50 |
sed -i -e "s:lua51:lua5.1:g" meson.build || die |