commit:     e1adde1f6e5afea145a9b9dc37c51ff4d968fdbd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 29 01:30:01 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 01:39:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1adde1f

dev-libs/libgweather: Depend on pygobject

Used at build time.

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

 dev-libs/libgweather/libgweather-40.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-libs/libgweather/libgweather-40.0.ebuild 
b/dev-libs/libgweather/libgweather-40.0.ebuild
index a9e1c0918c2..25aefdc8fd5 100644
--- a/dev-libs/libgweather/libgweather-40.0.ebuild
+++ b/dev-libs/libgweather/libgweather-40.0.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
        >=sys-devel/gettext-0.19.8
        virtual/pkgconfig
        ${PYTHON_DEPS}
+       $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
        $(vala_depend)
 "
 
@@ -46,6 +47,10 @@ PATCHES=(
        "${FILESDIR}"/40.0-autoskip-network-test.patch
 )
 
+python_check_deps() {
+       has_version -b "dev-python/pygobject[${PYTHON_USEDEP}]"
+}
+
 pkg_setup() {
        python-any-r1_pkg_setup
 }

Reply via email to