commit: 4efb648299aba9c37d28b752a541a61f42b5fbd9
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 09:13:25 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 12 09:13:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4efb6482
app-emulation/waydroid: enable py3.10, correctly depend op python stuff
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-emulation/waydroid/waydroid-1.2.1.ebuild | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/app-emulation/waydroid/waydroid-1.2.1.ebuild
b/app-emulation/waydroid/waydroid-1.2.1.ebuild
index 1c9b31ce9..5175dbe02 100644
--- a/app-emulation/waydroid/waydroid-1.2.1.ebuild
+++ b/app-emulation/waydroid/waydroid-1.2.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_9 )
+PYTHON_COMPAT=( python3_{9..10} )
inherit python-single-r1
DESCRIPTION="A container-based approach to boot a full Android system on a
regular Linux system"
@@ -17,14 +17,15 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND=""
RDEPEND="
- app-containers/lxc \
- dev-lang/python \
- dev-python/pygobject \
- dev-python/gbinder \
- net-firewall/nftables \
+ app-containers/lxc
+ $(python_gen_cond_dep '
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/gbinder[${PYTHON_USEDEP}]
+ ')
+ net-firewall/nftables
net-dns/dnsmasq \
${PYTHON_DEPS}
- "
+"
src_install() {
python_fix_shebang waydroid.py