net-voip/telepathy-salut: Flatten twisted dep
authorMichał Górny <mgorny@gentoo.org>
Thu, 26 Mar 2020 17:29:45 +0000 (18:29 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 26 Mar 2020 17:36:01 +0000 (18:36 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-voip/telepathy-salut/telepathy-salut-0.8.1-r2.ebuild

index 3f568babb3e924396ac0e65848fce63788162399..910016e3338c5bfaafb9594a961f8702ff3306dd 100644 (file)
@@ -36,10 +36,7 @@ DEPEND="${RDEPEND}
        test? (
                >=dev-libs/check-0.9.4
                net-libs/libgsasl
-               || (
-                       $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
-                       $(python_gen_any_dep 'dev-python/twisted-words[${PYTHON_USEDEP}]')
-               )
+               $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
        )
 "
 # FIXME: needs xmppstream python module
@@ -52,8 +49,7 @@ PATCHES=(
 
 python_check_deps() {
        if use test ; then
-                has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
-                       || has_version "dev-python/twisted-words[${PYTHON_USEDEP}]"
+                has_version "dev-python/twisted[${PYTHON_USEDEP}]"
        fi
 }