dev-python/wheel: Sync with Gentoo

It's from Gentoo commit a1dd466b93291a3cb40d06878aca0b2407f2fbf7.
This commit is contained in:
Flatcar Buildbot 2025-07-07 07:09:31 +00:00
parent c995a3ef7e
commit f6e9e07410

View File

@ -28,6 +28,9 @@ BDEPEND="
)
"
# xdist is slightly flaky here
EPYTEST_PLUGINS=( pytest-rerunfailures )
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
@ -57,6 +60,5 @@ python_test() {
tests/test_bdist_wheel.py::test_licenses_override
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
epytest --reruns=5
}