From e1adde1f6e5afea145a9b9dc37c51ff4d968fdbd Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 28 Mar 2021 21:30:01 -0400 Subject: dev-libs/libgweather: Depend on pygobject Used at build time. Closes: https://bugs.gentoo.org/778839 Signed-off-by: Matt Turner --- dev-libs/libgweather/libgweather-40.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dev-libs/libgweather') diff --git a/dev-libs/libgweather/libgweather-40.0.ebuild b/dev-libs/libgweather/libgweather-40.0.ebuild index a9e1c0918c24..25aefdc8fd5d 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 } -- cgit v1.2.3-65-gdbad