commit:     21fc820e35b8bc1ed70b4cbb4d3521b30eb777ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 06:12:47 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 06:54:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fc820e

dev-python/black: Bump to 24.3.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/black/Manifest            |  1 +
 dev-python/black/black-24.3.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index 89003fb22d16..a86b25069c71 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -2,3 +2,4 @@ DIST black-23.12.1.tar.gz 620809 BLAKE2B 
8522183d8004dd094f87fc8efcbbbafede9f94d
 DIST black-24.1.0.tar.gz 622911 BLAKE2B 
371a334df390f758fe482dac42345ab0cd7058c2dcbb49f5ce4337fedfe5b330308ab2644438a447ae76413fc95b65ba0fb0ab68a3a294e12f2fe147cebdfc25
 SHA512 
f9d2315743b91dcc563f8e57d4bfb3d80aff2b6a8f426d348c84d23cbcc1fe85107b4b3d78f396959d10240b75586e29bb26d7e767d382cc9d977703f2fa8d09
 DIST black-24.1.1.tar.gz 623755 BLAKE2B 
32e12a3c1b0ad7cb94970b8d887444e0ff05c8044ce7b843710ad4494b6c1d8d4e74a76ce79178bb468fc1ed813bd4e17d3b1ba24f4fe6a6c3aeaf4bf2afe499
 SHA512 
507555c330a4ef5869b11d9b3ad19b6234c035bb2a28fa497aac911303bbc2d546601c1d587c8a824403c346eb5b940aaec2989c20dffead6fa881e496be5672
 DIST black-24.2.0.tar.gz 631598 BLAKE2B 
4533768f508408dbdcca72db4600ddf244cddadd985e960cd7292809ebc0e2ed7f89aeab1f9af84e17a58d232f19b146980b79804f9cf3036bf757464737022a
 SHA512 
23a40d7b2463d657c849bc54745036a253c67df6c58cef210fa4ee3c820cd83f687e3661f765939a5da23f7b75b10bb59e8b233731f37f21dd0301129e3fb5ea
+DIST black-24.3.0.tar.gz 634292 BLAKE2B 
9a853a0943ba081ecb7a4c22913b060607ac47fb90b70a9645358d681f3eab55707ad6fe9ad9928ba0d39a8adf5dfde0168598a8abcc24b823b407287cefaf82
 SHA512 
57e3b651009578f1d15b6e9ffb49d24be80885b2cf7ad48a68407862778ac2099d119e7ba6d58ddea4fc7fc21345435a7572a970baf882f763d9347868d5504b

diff --git a/dev-python/black/black-24.3.0.ebuild 
b/dev-python/black/black-24.3.0.ebuild
new file mode 100644
index 000000000000..bbf320447679
--- /dev/null
+++ b/dev-python/black/black-24.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="
+       https://black.readthedocs.io/en/stable/
+       https://github.com/psf/black/
+       https://pypi.org/project/black/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+       >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+       >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+       >=dev-python/packaging-22.0[${PYTHON_USEDEP}]
+       >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
+       >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+       ' 3.10)
+"
+BDEPEND="
+       dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+       test? (
+               >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
+               dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+               dev-python/colorama[${PYTHON_USEDEP}]
+               dev-python/parameterized[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+       optfeature "blackd - HTTP API for black" \
+               "dev-python/aiohttp dev-python/aiohttp-cors"
+}

Reply via email to