dev-python/trollius: Replace virts with cond deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:03:16 +0000 (22:03 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:09:39 +0000 (22:09 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/trollius/trollius-2.1.ebuild
dev-python/trollius/trollius-2.2.ebuild

index 2cc2af11d175241315882b51f9d3f8f6f93c008a..2f3cc0f4eab557a36746d5866c0c4815e02fcbee 100644 (file)
@@ -15,7 +15,10 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux"
 
-RDEPEND="virtual/python-futures[${PYTHON_USEDEP}]"
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/futures[${PYTHON_USEDEP}]
+       ' -2)"
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]"
 
index b0922242a5354a50f706be9b2d6db98e0caf3268..d0780fc89424fa3d462e864451f2887eb90e011e 100644 (file)
@@ -15,7 +15,10 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 
-RDEPEND="virtual/python-futures[${PYTHON_USEDEP}]"
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/futures[${PYTHON_USEDEP}]
+       ' -2)"
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]"