summaryrefslogtreecommitdiff
path: root/dev-python/black
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/black')
-rw-r--r--dev-python/black/Manifest2
-rw-r--r--dev-python/black/black-23.7.0.ebuild9
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index dc6eb0cc9c9c..342497c8d7d9 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,5 +1,5 @@
DIST black-23.3.0.tar.gz 582156 BLAKE2B 01ed5443e1bb251d46618a5b61bbfcc2dc0b41c0bef7d4315fb704a2ac0fd51eb4fe268838b8be6195630f21e6f7b3a5bfca124a7bd60dbef95a02714924327b SHA512 1ea8749ee25aae34a40c5d1b779c6076971488dea1a85ebfcbe4c2a8bb5abb5e3918a735a4e3f9b4ae2690eda0f48fac014ade055721b54d879fdd2d3450b72b
DIST black-23.7.0.tar.gz 586177 BLAKE2B 4bb50b6c7409a97aa277f1048c17101a1c91368b9269cf4c08d3052c036887d2ed6e5f1f2e044c14f41bf2d969d65183413c2a9810f12d96cbf09778c9b1310e SHA512 78d5e87bfef4dcaff007455e8c72dcd45f9374c09da6f4ba45ae7caa980005d1bc984c68fa44d4abf7969a376a4039546e7e8f537c3aa1331d213e13dcbe3941
EBUILD black-23.3.0.ebuild 1283 BLAKE2B 432872acab80be3c9ff246283f8786a879c4d53bf3ade2e783280873ed42b72ec7fc2250fd1a0221e88adbbcfecbd161022bdb78ece07976c1de761278b63edf SHA512 6557ab1400a5b52b9d9900d8987fb18d0ef4e5317369f979ace0098fad920a9f3ac581f20e3d69cc20007f98a5a2b6549e073ec3ec7def64ffe5ec61ec9330f9
-EBUILD black-23.7.0.ebuild 1292 BLAKE2B 21323ac67e992a386524d9248a1a4e98d075aad51df6c053595b918e41049b2faa79e28d5be071b21cfc54076b44fb19016cc77ca6e45433c8a57de20d617ea0 SHA512 f0a81c0b4ae1cb00f52ffb05f2c7a54ba2288488376fe40aec5ad7b4ca15423e548ab88f4b8269923f187872a957da770be045deda429ff17238bd1663287e0c
+EBUILD black-23.7.0.ebuild 1419 BLAKE2B 159bb6253fead0e9868fa730d93cda3942b8bcbdeba595a4ed853a7a5b38de2c1118f7014637adf229fa94faec559d2620093a0d8d442f85771dc13b711947eb SHA512 7891509019d71dd6a88f6b07cbf7b706136f36b20695abb14dd0a75305adec58fffe5ab0f817553e587b61800da15f38146c3779149e23e06b66df4c3c94dd11
MISC metadata.xml 446 BLAKE2B 7d9bdbc4fdd62c1b4278a824a75dede64ccd3a4d865722a99edbd4e316342879eefa7b249c453668a5d33009e134e2feb4d1ac01976146c3e988f3724749d4a4 SHA512 0a3a912fc1d439a92452e48c9749705cd2307e645bb1274d22265656f6101574edda79cf04c03ae512818e7077e404f79fb1f70fd68d9c7cd3be3417f991700d
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"