net-im/pyicq-t: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:25:35 +0000 (18:25 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:06 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild [moved from net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild with 78% similarity]

similarity index 78%
rename from net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
rename to net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild
index ec0c387fbfa9aa686bd394a0406771ea04293b8d..12ace01e92ddf2b16c580081c7d38fc3983f7040 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,16 +22,18 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="${PYTHON_DEPS}
        net-im/jabber-base"
 RDEPEND="${DEPEND}
-       || (
-               (
-                       dev-python/twisted-core[${PYTHON_USEDEP}]
-                       dev-python/twisted-words[${PYTHON_USEDEP}]
-                       dev-python/twisted-web[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               || (
+                       (
+                               dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
+                               dev-python/twisted-words[${PYTHON_MULTI_USEDEP}]
+                               dev-python/twisted-web[${PYTHON_MULTI_USEDEP}]
+                       )
+                       dev-python/twisted[${PYTHON_MULTI_USEDEP}]
                )
-               dev-python/twisted[${PYTHON_USEDEP}]
-       )
-       webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
-       dev-python/pillow[${PYTHON_USEDEP}]"
+               webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_MULTI_USEDEP}] )
+               dev-python/pillow[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 S="${WORKDIR}/${MY_P}"
 PATCHES=(