commit:     ea6be99ab4d2d4b4819abe5d1a1bf245500426d8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 30 19:54:55 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 19:54:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea6be99a

dev-python/pytest-subtests: restrict tests

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild 
b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
index d49e68a..a3d3b5d 100644
--- a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
+++ b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
@@ -17,7 +17,13 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
+#https://github.com/pytest-dev/pytest-subtests/issues/21
+RESTRICT="test"
+
+RDEPEND="
+       >=dev-python/pytest-4.4[${PYTHON_USEDEP}]
+       >=dev-python/pytest-xdist-1.28[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest
 

Reply via email to