diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-11 10:29:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-11 10:29:19 +0100 |
commit | f9a53aec073578673710687755db617717dd87d3 (patch) | |
tree | 9e9642aae0c5bc25cac799d6a2437229bbb76a76 /dev-python/black | |
parent | 7e110ec617b903791c3d309845e11a8b27f441cc (diff) |
gentoo auto-resync : 11:07:2023 - 10:29:18
Diffstat (limited to 'dev-python/black')
-rw-r--r-- | dev-python/black/Manifest | 2 | ||||
-rw-r--r-- | dev-python/black/black-23.7.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index 8cecef935120..6070cfd4f738 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +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 1381 BLAKE2B 5d4354628ec5ea27a179e250b0f0fad68e51fecee6fab3526903a0b2c6127c935e3bf6a41827ecf2f50dd6c3bb6afa9e19aba6b0c7f1ffb7d7d911baad440656 SHA512 ed3b0b617e749ca87f51f280211e35a93ec7077bb64d798be0d0f59fccb3d3299b52fad58193ef2839db5daa098b91776f8e81560122bb37156bf67385a3bb8d +EBUILD black-23.7.0.ebuild 1390 BLAKE2B 7146abd4fb1b7c214513203fb247b6640fdeb617618a55c1de2cbd95641b6d9277ae8b68722560e811daa83ad47ef358b5f069ed660ffb5393217012711970eb SHA512 09e77a63d1e49da1e9972e9e3af339e400f2d9572b50a81f98d2736be5a49280437dc29b715f3ba5fb449417e75ea0559916843800c7908bae34f790c10e8d64 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 new file mode 100644 index 000000000000..dc0fca200e6d --- /dev/null +++ b/dev-python/black/black-23.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +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.{9..10}) + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] + ' 3.9) +" +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" +} |