From 4e07f27a5bb76f9f7aa4892af9fedb765c71d0a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 17 Nov 2023 16:32:58 +0100 Subject: [PATCH] dev-python/fonttools: Use EPYTEST_XDIST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: Ex Makhina, Inc. Signed-off-by: Michał Górny --- dev-python/fonttools/fonttools-4.44.3.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/fonttools/fonttools-4.44.3.ebuild b/dev-python/fonttools/fonttools-4.44.3.ebuild index 03a122ad95a0d..219165929729e 100644 --- a/dev-python/fonttools/fonttools-4.44.3.ebuild +++ b/dev-python/fonttools/fonttools-4.44.3.ebuild @@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="xml(+)" -inherit distutils-r1 multiprocessing virtualx +inherit distutils-r1 virtualx DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" HOMEPAGE=" @@ -33,10 +33,10 @@ BDEPEND=" dev-python/brotlicffi[${PYTHON_USEDEP}] app-arch/zopfli dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { @@ -67,7 +67,6 @@ src_test() { python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest Tests fontTools \ - -p rerunfailures --reruns=5 \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal || + -p rerunfailures --reruns=5 || die "Tests failed with ${EPYTHON}" }