1 |
commit: ec948a7eb4a93c5fe031c0f085047a540ebf8e82 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 24 09:59:40 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 24 10:00:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec948a7e |
7 |
|
8 |
app-crypt/libsecret: add missing dbus-python test dependency |
9 |
|
10 |
Add --host-root to has_version while here - hopefully that's correct.. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/653948 |
13 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
14 |
|
15 |
app-crypt/libsecret/libsecret-0.18.6.ebuild | 6 ++++-- |
16 |
1 file changed, 4 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/libsecret/libsecret-0.18.6.ebuild b/app-crypt/libsecret/libsecret-0.18.6.ebuild |
19 |
index e33fcf513a9..ce764e48516 100644 |
20 |
--- a/app-crypt/libsecret/libsecret-0.18.6.ebuild |
21 |
+++ b/app-crypt/libsecret/libsecret-0.18.6.ebuild |
22 |
@@ -39,6 +39,7 @@ DEPEND="${RDEPEND} |
23 |
test? ( |
24 |
$(python_gen_any_dep ' |
25 |
dev-python/mock[${PYTHON_USEDEP}] |
26 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
27 |
introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') |
28 |
introspection? ( >=dev-libs/gjs-1.32 ) |
29 |
) |
30 |
@@ -47,9 +48,10 @@ DEPEND="${RDEPEND} |
31 |
|
32 |
python_check_deps() { |
33 |
if use introspection; then |
34 |
- has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return |
35 |
+ has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return |
36 |
fi |
37 |
- has_version "dev-python/mock[${PYTHON_USEDEP}]" |
38 |
+ has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && |
39 |
+ has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" |
40 |
} |
41 |
|
42 |
pkg_setup() { |