From 6abdc6faa35b0ac89983dccc57e291e58c6d94e8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 20 Nov 2024 22:23:00 -0800 Subject: python3-black: Add recipe Signed-off-by: Khem Raj --- .../python/python3-black_24.10.0.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-black_24.10.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-black_24.10.0.bb b/meta-python/recipes-devtools/python/python3-black_24.10.0.bb new file mode 100644 index 0000000000..612a2a5ab3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-black_24.10.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "The uncompromising code formatter." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d3465a2a183908c9cb95bf490bd1e7ab \ + file://docs/license.md;md5=d826b3c5269f21a8a0272af3f00d15c0 \ + file://src/blib2to3/LICENSE;md5=bbbad7490e921f9a73c0e891305cb4b3" + +DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" +SRC_URI[sha256sum] = "846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875" + +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-fancy-pypi-readme-native" + +PYPI_PACKAGE = "black" + +RDEPENDS:${PN} = "python3-click \ + python3-mypy-extensions \ + python3-packaging \ + python3-pathspec \ + python3-platformdirs \ + python3-tomli \ + python3-typing-extensions \ + " -- cgit v1.2.3-54-g00ecf