diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-04-24 12:59:40 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-04-24 13:00:54 +0300 |
commit | ec948a7eb4a93c5fe031c0f085047a540ebf8e82 (patch) | |
tree | 87172872498a43c49f55a472633c9b39d8673a11 /app-crypt | |
parent | kde-apps/kopete: Fix USE=oscar (diff) | |
download | gentoo-ec948a7eb4a93c5fe031c0f085047a540ebf8e82.tar.gz gentoo-ec948a7eb4a93c5fe031c0f085047a540ebf8e82.tar.bz2 gentoo-ec948a7eb4a93c5fe031c0f085047a540ebf8e82.zip |
app-crypt/libsecret: add missing dbus-python test dependency
Add --host-root to has_version while here - hopefully that's correct..
Closes: https://bugs.gentoo.org/653948
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/libsecret/libsecret-0.18.6.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app-crypt/libsecret/libsecret-0.18.6.ebuild b/app-crypt/libsecret/libsecret-0.18.6.ebuild index e33fcf513a96..ce764e485161 100644 --- a/app-crypt/libsecret/libsecret-0.18.6.ebuild +++ b/app-crypt/libsecret/libsecret-0.18.6.ebuild @@ -39,6 +39,7 @@ DEPEND="${RDEPEND} test? ( $(python_gen_any_dep ' dev-python/mock[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') introspection? ( >=dev-libs/gjs-1.32 ) ) @@ -47,9 +48,10 @@ DEPEND="${RDEPEND} python_check_deps() { if use introspection; then - has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return + has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return fi - has_version "dev-python/mock[${PYTHON_USEDEP}]" + has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" } pkg_setup() { |