diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-29 19:50:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-29 19:50:52 +0100 |
commit | eadaf2e4a8e3508911e28e995ab883c2b5e96f31 (patch) | |
tree | 7d92bb8704cea549b35aad0e5632b40d14dea5a2 /dev-python/emcee | |
parent | net-libs/libsoup: Version bump to 3.4.4 (diff) | |
download | gentoo-eadaf2e4a8e3508911e28e995ab883c2b5e96f31.tar.gz gentoo-eadaf2e4a8e3508911e28e995ab883c2b5e96f31.tar.bz2 gentoo-eadaf2e4a8e3508911e28e995ab883c2b5e96f31.zip |
dev-python/emcee: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/emcee')
-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 +} |