Signed-off-by: Michał Górny <[email protected]>
---
dev-python/wheel/wheel-0.45.1.ebuild | 29 +++++++++++++---------------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/dev-python/wheel/wheel-0.45.1.ebuild
b/dev-python/wheel/wheel-0.45.1.ebuild
index 85ebbcc34385..43dca3371f77 100644
--- a/dev-python/wheel/wheel-0.45.1.ebuild
+++ b/dev-python/wheel/wheel-0.45.1.ebuild
@@ -29,10 +29,22 @@ BDEPEND="
"
# xdist is slightly flaky here
-EPYTEST_PLUGINS=( pytest-rerunfailures )
+EPYTEST_PLUGINS=()
+EPYTEST_RERUNS=5
EPYTEST_XDIST=1
distutils_enable_tests pytest
+EPYTEST_DESELECT=(
+ # fails if any setuptools plugin imported the module first
+ tests/test_bdist_wheel.py::test_deprecated_import
+
+ # broken by setuptools license changes
+ # upstream removed the tests already
+ tests/test_bdist_wheel.py::test_licenses_default
+ tests/test_bdist_wheel.py::test_licenses_deprecated
+ tests/test_bdist_wheel.py::test_licenses_override
+)
+
src_prepare() {
local PATCHES=(
# https://github.com/pypa/wheel/pull/651
@@ -47,18 +59,3 @@ src_prepare() {
-e 's:wheel\.vendored\.::' \
-e 's:\.\+vendored\.::' {} + || die
}
-
-python_test() {
- local EPYTEST_DESELECT=(
- # fails if any setuptools plugin imported the module first
- tests/test_bdist_wheel.py::test_deprecated_import
-
- # broken by setuptools license changes
- # upstream removed the tests already
- tests/test_bdist_wheel.py::test_licenses_default
- tests/test_bdist_wheel.py::test_licenses_deprecated
- tests/test_bdist_wheel.py::test_licenses_override
- )
-
- epytest --reruns=5
-}