From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4956015800A for ; Fri, 28 Jul 2023 14:33:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 784FCE09C2; Fri, 28 Jul 2023 14:33:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F3D9E09C2 for ; Fri, 28 Jul 2023 14:33:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61B47341557 for ; Fri, 28 Jul 2023 14:33:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AECAAACD for ; Fri, 28 Jul 2023 14:33:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1690554802.10c7e3bf7a1a619e2da5ccf8833b42030f81004b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/black/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/black/black-23.7.0.ebuild X-VCS-Directories: dev-python/black/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 10c7e3bf7a1a619e2da5ccf8833b42030f81004b X-VCS-Branch: master Date: Fri, 28 Jul 2023 14:33:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73b8f650-fd70-4eb6-a012-75a5e6733eb3 X-Archives-Hash: d07ab52475e80a6490b5ef57659530ae commit: 10c7e3bf7a1a619e2da5ccf8833b42030f81004b Author: Michał Górny gentoo org> AuthorDate: Fri Jul 28 14:28:04 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jul 28 14:33:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c7e3bf dev-python/black: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/black/black-23.7.0.ebuild | 9 +++++++-- 1 file 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"