dev-python/curtsies: Fix hardcoding impl flags
authorMichał Górny <mgorny@gentoo.org>
Thu, 21 Mar 2019 14:21:17 +0000 (15:21 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 21 Mar 2019 18:01:26 +0000 (19:01 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/curtsies/curtsies-0.3.0-r1.ebuild

index b12c3e7ffddb97d1b2d1d78fd64fc16f0f9e5c8c..47f4f1a2b20a884569d1d71f0e81e1aa3a819d22 100644 (file)
@@ -19,8 +19,7 @@ IUSE="test"
 RDEPEND="
        >=dev-python/blessings-1.5[${PYTHON_USEDEP}]
        >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}]
-       python_targets_python2_7? ( dev-python/typing[python_targets_python2_7] )
-       python_targets_python3_4? ( dev-python/typing[python_targets_python3_4] )
+       $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python{2_7,3_4})
 "
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]