1 |
commit: e1adde1f6e5afea145a9b9dc37c51ff4d968fdbd |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 29 01:30:01 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 29 01:39:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1adde1f |
7 |
|
8 |
dev-libs/libgweather: Depend on pygobject |
9 |
|
10 |
Used at build time. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/778839 |
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
dev-libs/libgweather/libgweather-40.0.ebuild | 5 +++++ |
16 |
1 file changed, 5 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libgweather/libgweather-40.0.ebuild b/dev-libs/libgweather/libgweather-40.0.ebuild |
19 |
index a9e1c0918c2..25aefdc8fd5 100644 |
20 |
--- a/dev-libs/libgweather/libgweather-40.0.ebuild |
21 |
+++ b/dev-libs/libgweather/libgweather-40.0.ebuild |
22 |
@@ -37,6 +37,7 @@ BDEPEND=" |
23 |
>=sys-devel/gettext-0.19.8 |
24 |
virtual/pkgconfig |
25 |
${PYTHON_DEPS} |
26 |
+ $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') |
27 |
$(vala_depend) |
28 |
" |
29 |
|
30 |
@@ -46,6 +47,10 @@ PATCHES=( |
31 |
"${FILESDIR}"/40.0-autoskip-network-test.patch |
32 |
) |
33 |
|
34 |
+python_check_deps() { |
35 |
+ has_version -b "dev-python/pygobject[${PYTHON_USEDEP}]" |
36 |
+} |
37 |
+ |
38 |
pkg_setup() { |
39 |
python-any-r1_pkg_setup |
40 |
} |