commit:     abc2a3b07bd7566295f3974f4e02e505783947ac
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  3 03:55:48 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  3 03:55:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc2a3b0

dev-python/black: Bump to 24.8.0

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

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

diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index 27e4646f0a43..1ba94d5b0a17 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1 +1,2 @@
 DIST black-24.4.2.tar.gz 642299 BLAKE2B 
aa62394dc4a14fd6dd49502a86e46e7f707d6342127e2fb3b5cb7365ab392f5a0514df548d30219e9b6ed1f9d8ca80241ea206a06011ef8dc3d770191d3328ce
 SHA512 
f3fb63fdbff947a217ad371939a6eaac1e818f58fb924516639f3c9469f0db6fbda8d4b207163d4a6db8a58a048fefe46fbfdb1ddf40f91348bd767208e60f35
+DIST black-24.8.0.tar.gz 644810 BLAKE2B 
8961bca9caf4db7178b3bdc4cccbf8bea667329cb2a13e388fa966b0cc9c059edf6ee17f281b72b9b8b66359781d525cc3983b2cb7a5e0638418d9454e51b188
 SHA512 
2ba2579964764032d30378232f5874a5d71981eb76706ed12004c08c78eaa56bfb8e0740e513280b9246f54082443c64aa31d31955fdccae9c6e6ba96f54e1cc

diff --git a/dev-python/black/black-24.8.0.ebuild 
b/dev-python/black/black-24.8.0.ebuild
new file mode 100644
index 000000000000..33732add02a6
--- /dev/null
+++ b/dev-python/black/black-24.8.0.ebuild
@@ -0,0 +1,49 @@
+# 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..13} 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}]
+               >=dev-python/typing-extensions-4.0.1[${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