diff options
Diffstat (limited to 'net-misc/spice-gtk/spice-gtk-9999.ebuild')
-rw-r--r-- | net-misc/spice-gtk/spice-gtk-9999.ebuild | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild index e262e6bf9e87..c507c8b5b368 100644 --- a/net-misc/spice-gtk/spice-gtk-9999.ebuild +++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild @@ -6,7 +6,9 @@ EAPI=7 VALA_MIN_API_VERSION="0.14" VALA_USE_DEPEND="vapigen" -inherit desktop eutils git-r3 meson readme.gentoo-r1 vala xdg-utils +PYTHON_COMPAT=( python3_{7..9} ) + +inherit desktop eutils git-r3 meson python-any-r1 readme.gentoo-r1 vala xdg-utils DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" @@ -74,6 +76,18 @@ DEPEND="${RDEPEND} vala? ( $(vala_depend) ) " +BDEPEND=" + $(python_gen_any_dep ' + dev-python/six[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ') +" + +python_check_deps() { + has_version "dev-python/six[${PYTHON_USEDEP}]" && + has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" +} + src_prepare() { default |