From a8a4b0c84d63d6e5f710e1bf508adcd2022c2770 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 4 Aug 2025 07:14:57 +0000 Subject: [PATCH] eclass/distutils-r1: Sync with Gentoo It's from Gentoo commit 87a034bd840d2d9095bccb29e7cc0922ec29b4ad. --- .../src/third_party/portage-stable/eclass/distutils-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass index 7b025261eb..c59bdce175 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass @@ -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