commit:     97b0c766dc5d6bd7b7e45aa7b8484ac5bd49bfe7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 22:34:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 22:35:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b0c766

dev-python/pytest-subtests: add conditional dev-python/typing-extensions dep

It's a Python 3.8 backport, so we only need this for Python 3.7
and PyPy3.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pytest-subtests/pytest-subtests-0.4.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-subtests/pytest-subtests-0.4.0.ebuild 
b/dev-python/pytest-subtests/pytest-subtests-0.4.0.ebuild
index 9d5b3d569ee..8d4f5768289 100644
--- a/dev-python/pytest-subtests/pytest-subtests-0.4.0.ebuild
+++ b/dev-python/pytest-subtests/pytest-subtests-0.4.0.ebuild
@@ -19,7 +19,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~x86"
 
 RDEPEND="
-       >=dev-python/pytest-5.3.0[${PYTHON_USEDEP}]"
+       >=dev-python/pytest-5.3.0[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/typing-extensions
+       ' python3_7 pypy3)
+"
 # pytest-xdist is used to test compatibility
 BDEPEND="
        dev-python/setuptools_scm[${PYTHON_USEDEP}]

Reply via email to