diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-28 16:28:04 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-28 16:33:22 +0200 |
commit | 10c7e3bf7a1a619e2da5ccf8833b42030f81004b (patch) | |
tree | 2a465b931c1e1cd04531ca13168c89d5cd5c14ce /dev-python | |
parent | net-analyzer/mtr: drop upstream patch from live (diff) | |
download | gentoo-10c7e3bf7a1a619e2da5ccf8833b42030f81004b.tar.gz gentoo-10c7e3bf7a1a619e2da5ccf8833b42030f81004b.tar.bz2 gentoo-10c7e3bf7a1a619e2da5ccf8833b42030f81004b.zip |
dev-python/black: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/black/black-23.7.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-python/black/black-23.7.0.ebuild b/dev-python/black/black-23.7.0.ebuild index c9f6e9864cc3..29726cd5e4ea 100644 --- a/dev-python/black/black-23.7.0.ebuild +++ b/dev-python/black/black-23.7.0.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 optfeature pypi +inherit distutils-r1 multiprocessing optfeature pypi DESCRIPTION="The uncompromising Python code formatter" HOMEPAGE=" @@ -37,11 +37,16 @@ BDEPEND=" dev-python/aiohttp-cors[${PYTHON_USEDEP}] dev-python/colorama[${PYTHON_USEDEP}] dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest +python_test() { + epytest -n "$(makeopts_jobs)" --dist=worksteal +} + pkg_postinst() { optfeature "blackd - HTTP API for black" \ "dev-python/aiohttp dev-python/aiohttp-cors" |