dev-python/pbr: Replace python_gen_usedep
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 09:56:15 +0000 (10:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 10:14:39 +0000 (11:14 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pbr/pbr-5.1.1.ebuild

index 956f9fc47cdab5c3f71fa4dabf8a6a7c13b0319b..fb7d99ad0efe2b8dd2f64540fcb202d5f7ac3302 100644 (file)
@@ -37,7 +37,9 @@ DEPEND="
                >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
                >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
                >=dev-python/virtualenv-14.0.6[${PYTHON_USEDEP}]
-               >=dev-python/stestr-2.1.0[$(python_gen_usedep python{2_7,3_5,3_6})]
+               $(python_gen_cond_dep '
+                       >=dev-python/stestr-2.1.0[${PYTHON_USEDEP}]
+               ' python{2_7,3_5,3_6})
                >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
                !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]