net-libs/telepathy-qt: Fix pkg_setup
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 8 Dec 2019 16:00:03 +0000 (17:00 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 8 Dec 2019 16:00:25 +0000 (17:00 +0100)
Closes: https://bugs.gentoo.org/702046
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-libs/telepathy-qt/telepathy-qt-0.9.8.ebuild

index 3aefd66fcbf0be87240048c47d9876314d901efc..1f505982cf39e2819c56c62fe394f0346048e55a 100644 (file)
@@ -46,6 +46,7 @@ BDEPEND="${PYTHON_DEPS}
 RESTRICT="!test? ( test )"
 
 python_check_deps() {
+       use test || return 0
        has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }