1 |
commit: aa27f32bf1a934e73f59cfcc14447e03b80bb62a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 03:24:40 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 04:03:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa27f32b |
7 |
|
8 |
dev-python/black: Bump to 22.6.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/black/Manifest | 1 + |
13 |
dev-python/black/black-22.6.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest |
17 |
index 1151d6b0ba7c..72e1f49e703b 100644 |
18 |
--- a/dev-python/black/Manifest |
19 |
+++ b/dev-python/black/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST black-22.1.0.tar.gz 1161720 BLAKE2B d74cbdd39dc1576583cee57089cb6d75a338f2d6640697adda79d38d02eeb51664049dca934d5014761d0fd4080ca2f40a3ea10c30e40bde9fe6af6c178b202c SHA512 9b97a3b32ecebebeb61ea581784a9b2215540c20533097fe87d5ef3c046dbe7c2ab8f2f21d1884cbe0ddd458434f17eb9b540764f955385873e6fdef86c3014c |
22 |
DIST black-22.3.0.tar.gz 1154456 BLAKE2B c89b43722839748dff0ce60debb684cd8eeae5ef5fb7e080f6b0031412381d7be121ce62ad252a67fa7930726243680a4bf183417611617be5af39722164289d SHA512 fc44576b93a6e158f625ad5444247f6a59a1ebcc7f0c73ed40d557a9a865457b297eabd492f01999e51ee3e5c3fa83f3d6e3c10937ecaa8c1d36f7541736d2e4 |
23 |
+DIST black-22.6.0.gh.tar.gz 1165070 BLAKE2B ce2eef529e230954a13913063dbb9000fa13f4debb2e5ed33605e8efe5c6d62fc1b3c0b7847c26ad931b9becae43fa23b15701a1672c1e056f729810020cc282 SHA512 72e4b4dfc69436e4dbee5a75ea72a1be69a26dc37a5e4d7edfb84d62736f0e0aba8d14420f3069798b568bd8ba916e8850f0c958afc9b6134ee8832e54d3dc4c |
24 |
|
25 |
diff --git a/dev-python/black/black-22.6.0.ebuild b/dev-python/black/black-22.6.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..2136bb8644c5 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/black/black-22.6.0.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 optfeature |
40 |
+ |
41 |
+DESCRIPTION="The uncompromising Python code formatter" |
42 |
+HOMEPAGE=" |
43 |
+ https://black.readthedocs.io/en/stable/ |
44 |
+ https://github.com/psf/black/ |
45 |
+ https://pypi.org/project/black/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/psf/black/archive/${PV}.tar.gz -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/click-8.0.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/platformdirs-2[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] |
60 |
+ $(python_gen_cond_dep ' |
61 |
+ >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
62 |
+ ' 3.8 3.9 3.10) |
63 |
+ $(python_gen_cond_dep ' |
64 |
+ >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] |
65 |
+ ' 3.8 3.9) |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ >=dev-python/setuptools_scm-6.3.1[${PYTHON_USEDEP}] |
69 |
+ test? ( |
70 |
+ >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] |
71 |
+ dev-python/aiohttp-cors[${PYTHON_USEDEP}] |
72 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
73 |
+ dev-python/parameterized[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+distutils_enable_tests pytest |
78 |
+ |
79 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ optfeature "blackd - HTTP API for black" "dev-python/aiohttp dev-python/aiohttp-cors" |
83 |
+} |