summaryrefslogtreecommitdiff
path: root/dev-python/black
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
commit83d9fce566bb89f6976f36f5314bfc88b6d261fa (patch)
tree8d8a18f75ff0a6a98313046fcd757ee0135db98c /dev-python/black
parentd0349ca0f4903608beca459a9db2068dab9fa6ea (diff)
gentoo auto-resync : 27:10:2024 - 03:04:35
Diffstat (limited to 'dev-python/black')
-rw-r--r--dev-python/black/Manifest2
-rw-r--r--dev-python/black/black-24.10.0.ebuild10
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index 8939da788423..a1c8709291f7 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,5 +1,5 @@
DIST black-24.10.0.tar.gz 645813 BLAKE2B ba53b3d38d982c81d66291318ba6ab7df75779207fea77af3a4554cebaa23061d9d22f97613faa38b869694edcf56ae0001ff27eb34fba1e1bc8732dbf0a0796 SHA512 36285528b2a3ca9b68b806cf43cf04061f80e0ad5e693c70d2dc254b59d15f41ec5c2a4328d4cda42abe005def2d86d8fc501c1649b223a225c8bddddf82589a
DIST black-24.8.0.tar.gz 644810 BLAKE2B 8961bca9caf4db7178b3bdc4cccbf8bea667329cb2a13e388fa966b0cc9c059edf6ee17f281b72b9b8b66359781d525cc3983b2cb7a5e0638418d9454e51b188 SHA512 2ba2579964764032d30378232f5874a5d71981eb76706ed12004c08c78eaa56bfb8e0740e513280b9246f54082443c64aa31d31955fdccae9c6e6ba96f54e1cc
-EBUILD black-24.10.0.ebuild 1348 BLAKE2B b73cc3cfe4aa4845dc8926d305ba8c5656bdc32c7af954ecc69952b440a83c3ff58c9842d10aa0bf1dd6d4601080faa4d1494894acdb56022181944f54c8ab87 SHA512 710fe3a5e8c51bd062b20f083f9246567864705a361a5cc7d6e76564aeca53d66fb1d14c296ed4c3e5606d08fb5a8647a76c2ceb93ad94580dbf43afa878fa90
+EBUILD black-24.10.0.ebuild 1584 BLAKE2B 42c045c9063e4fd6b53093e79c4070b24007337bae0295e1b720546242918763fe6d940afb226239140afd1bbe8a9e6fd4f835515befedea69ad78f1f938745b SHA512 60fea6cd35618dff6d66088405537a3bd036e4262496f9cf6e42dd98ed8488d64c29dc10260318c59feab6722a49b3b289824a8385507e71bceb0373d02d155f
EBUILD black-24.8.0.ebuild 1341 BLAKE2B 36b032ffded7ce49974c22438c1315121643d86d092c78efce0d089d26ba82876dfc43cfd831d14a9dd5b889294103b716f6e2a62775f7cfd0905c1badb39d00 SHA512 fcf177a810e93854f4229d8f4bd3242ba7dcfc31e6f1ac186a0a48cec1745433cd835440fcab75f3dec47f393e55ab2ecf207b837afe2cf6612350a51eba0246
MISC metadata.xml 446 BLAKE2B 7d9bdbc4fdd62c1b4278a824a75dede64ccd3a4d865722a99edbd4e316342879eefa7b249c453668a5d33009e134e2feb4d1ac01976146c3e988f3724749d4a4 SHA512 0a3a912fc1d439a92452e48c9749705cd2307e645bb1274d22265656f6101574edda79cf04c03ae512818e7077e404f79fb1f70fd68d9c7cd3be3417f991700d
diff --git a/dev-python/black/black-24.10.0.ebuild b/dev-python/black/black-24.10.0.ebuild
index 29e176c82187..daff56b55149 100644
--- a/dev-python/black/black-24.10.0.ebuild
+++ b/dev-python/black/black-24.10.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]
@@ -38,11 +38,19 @@ BDEPEND="
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ # pytest-forked to workaround fd leakage in blackd
+ # https://github.com/psf/black/issues/4504
+ epytest -p pytest_forked --forked
+}
+
pkg_postinst() {
optfeature "blackd - HTTP API for black" \
"dev-python/aiohttp dev-python/aiohttp-cors"