eclass/distutils-r1: Sync with Gentoo

It's from Gentoo commit 87a034bd840d2d9095bccb29e7cc0922ec29b4ad.
This commit is contained in:
Flatcar Buildbot 2025-08-04 07:14:57 +00:00
parent bb1e2847a0
commit a8a4b0c84d

View File

@ -554,6 +554,9 @@ distutils_enable_tests() {
;&
pytest)
test_pkgs+=' >=dev-python/pytest-7.4.4[${PYTHON_USEDEP}]'
if [[ -n ${EPYTEST_RERUNS} ]]; then
test_pkgs+=' dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]'
fi
if [[ -n ${EPYTEST_TIMEOUT} ]]; then
test_pkgs+=' dev-python/pytest-timeout[${PYTHON_USEDEP}]'
fi