commit:     0c2941fc0a38038d0eb5adffae6a11ea1a895589
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 14:38:43 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 14:39:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2941fc

app-misc/geoclue: Require Python with xml support

Closes: https://bugs.gentoo.org/769530
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-misc/geoclue/geoclue-2.5.7.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-misc/geoclue/geoclue-2.5.7.ebuild 
b/app-misc/geoclue/geoclue-2.5.7.ebuild
index 0fbeb1eca67..b039c33965d 100644
--- a/app-misc/geoclue/geoclue-2.5.7.ebuild
+++ b/app-misc/geoclue/geoclue-2.5.7.ebuild
@@ -2,9 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="xml(+)"
 VALA_USE_DEPEND="vapigen"
 
-inherit meson systemd vala xdg
+inherit meson python-any-r1 systemd vala xdg
 
 DESCRIPTION="A location information D-Bus service"
 HOMEPAGE="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home";
@@ -30,6 +32,7 @@ RDEPEND="${DEPEND}
        sys-apps/dbus
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        dev-util/gdbus-codegen
        dev-util/glib-utils
        gtk-doc? (

Reply via email to