commit:     92cd1e59e3197f22618fb68be9efb0eb736e5960
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 24 22:04:29 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Thu Aug 24 22:47:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92cd1e59

net-voip/telepathy-salut: fix python_check_deps, bug #628486

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild 
b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild
index f5766fe7ad3..10baef9097d 100644
--- a/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild
+++ b/net-voip/telepathy-salut/telepathy-salut-0.8.1-r1.ebuild
@@ -50,9 +50,10 @@ PATCHES=(
 )
 
 python_check_deps() {
-       use test \
-               && { has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
-                       || has_version 
"dev-python/twisted-words[${PYTHON_USEDEP}]"; }
+       if use test ; then
+                has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
+                       || has_version 
"dev-python/twisted-words[${PYTHON_USEDEP}]"
+       fi
 }
 
 pkg_setup() {

Reply via email to