dev-python/urllib3: Replace python_gen_usedep
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 14:21:06 +0000 (15:21 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 14:37:51 +0000 (15:37 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/urllib3/urllib3-1.25.7.ebuild

index 036868ec5be8acc9b30bdfd880f907a972b23b69..1443bfdef40b6b6321f8b004aa97521fd81dcca7 100644 (file)
@@ -37,7 +37,9 @@ BDEPEND="
                dev-python/mock[${PYTHON_USEDEP}]
                dev-python/pytest[${PYTHON_USEDEP}]
                >=dev-python/trustme-0.5.3[${PYTHON_USEDEP}]
-               >=www-servers/tornado-4.2.1[$(python_gen_usedep python{2_7,3_{5,6,7}})]
+               $(python_gen_cond_dep '
+                       >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
+               ' python{2_7,3_{5,6,7}})
        )
 "