commit:     fe80223de4e46fcb8db45984ea9440d10f2e0bfd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:03:15 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:09:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe80223d

dev-python/setuptools: Replace virts with cond deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/setuptools/setuptools-42.0.2.ebuild | 4 +++-
 dev-python/setuptools/setuptools-44.0.0.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/setuptools/setuptools-42.0.2.ebuild 
b/dev-python/setuptools/setuptools-42.0.2.ebuild
index e9fbfe3f93b..886d7f12a2e 100644
--- a/dev-python/setuptools/setuptools-42.0.2.ebuild
+++ b/dev-python/setuptools/setuptools-42.0.2.ebuild
@@ -33,7 +33,9 @@ BDEPEND="
                dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
                dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
                dev-python/wheel[${PYTHON_USEDEP}]
-               virtual/python-futures[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/futures[${PYTHON_USEDEP}]
+               ' -2)
        )
 "
 PDEPEND="

diff --git a/dev-python/setuptools/setuptools-44.0.0.ebuild 
b/dev-python/setuptools/setuptools-44.0.0.ebuild
index 07d5af2b66e..0f44927d103 100644
--- a/dev-python/setuptools/setuptools-44.0.0.ebuild
+++ b/dev-python/setuptools/setuptools-44.0.0.ebuild
@@ -33,7 +33,9 @@ BDEPEND="
                dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
                dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
                dev-python/wheel[${PYTHON_USEDEP}]
-               virtual/python-futures[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/futures[${PYTHON_USEDEP}]
+               ' -2)
        )
 "
 PDEPEND="

Reply via email to