From d07170b47698004fd850f5255ea9b703c369f5d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Mar 2020 22:06:11 +0100 Subject: [PATCH] dev-python/pytest: Replace virts with cond deps MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pytest/pytest-3.10.1.ebuild | 12 +++++++----- dev-python/pytest/pytest-4.5.0.ebuild | 8 +++++--- dev-python/pytest/pytest-4.6.9.ebuild | 8 +++++--- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/dev-python/pytest/pytest-3.10.1.ebuild b/dev-python/pytest/pytest-3.10.1.ebuild index c4d2de67cde7..10c1bb79f5c6 100644 --- a/dev-python/pytest/pytest-3.10.1.ebuild +++ b/dev-python/pytest/pytest-3.10.1.ebuild @@ -25,15 +25,17 @@ PY_VER="1.5.0" RDEPEND=" >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]' python2_7 ) - $(python_gen_cond_dep '=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] + =dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]' python3_{6,7} pypy{,3} ) - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7) >=dev-python/pluggy-0.7[${PYTHON_USEDEP}] >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] >=dev-python/setuptools-40[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" # flake & pytest-capturelog cause a number of tests to fail DEPEND="${RDEPEND} diff --git a/dev-python/pytest/pytest-4.5.0.ebuild b/dev-python/pytest/pytest-4.5.0.ebuild index f9bfdba1a65a..a54b3397dcf6 100644 --- a/dev-python/pytest/pytest-4.5.0.ebuild +++ b/dev-python/pytest/pytest-4.5.0.ebuild @@ -26,14 +26,16 @@ RDEPEND=" >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep ' + dev-python/pathlib2[${PYTHON_USEDEP}] + dev-python/funcsigs[${PYTHON_USEDEP}] + ' -2) >=dev-python/pluggy-0.11[${PYTHON_USEDEP}] =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] >=dev-python/setuptools-40[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" + dev-python/wcwidth[${PYTHON_USEDEP}]" # flake cause a number of tests to fail DEPEND="${RDEPEND} diff --git a/dev-python/pytest/pytest-4.6.9.ebuild b/dev-python/pytest/pytest-4.6.9.ebuild index fe23e76eb74b..c4912d16a924 100644 --- a/dev-python/pytest/pytest-4.6.9.ebuild +++ b/dev-python/pytest/pytest-4.6.9.ebuild @@ -28,14 +28,16 @@ RDEPEND=" >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' \ -2 python3_{5,6,7} pypy3) - $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) + $(python_gen_cond_dep ' + dev-python/pathlib2[${PYTHON_USEDEP}] + dev-python/funcsigs[${PYTHON_USEDEP}] + ' -2) >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] =dev-python/py-${PY_VER}[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}]" + dev-python/wcwidth[${PYTHON_USEDEP}]" # flake cause a number of tests to fail DEPEND=" -- 2.26.2