diff options
Diffstat (limited to 'dev-python/emcee/emcee-3.1.4.ebuild')
-rw-r--r-- | dev-python/emcee/emcee-3.1.4.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-python/emcee/emcee-3.1.4.ebuild b/dev-python/emcee/emcee-3.1.4.ebuild index 4b4b5950a76f..d90034e8e56b 100644 --- a/dev-python/emcee/emcee-3.1.4.ebuild +++ b/dev-python/emcee/emcee-3.1.4.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 multiprocessing pypi DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC" HOMEPAGE=" @@ -29,6 +29,7 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] ) " @@ -42,3 +43,8 @@ src_prepare() { sed -i -e '/wheel/d' setup.py || die distutils-r1_src_prepare } + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} |