Add python3-hatchling (from meta-oe)

Recipes in core are now needing to use the Hatch build system, so
move the hatchling recipe and class from meta-oe to oe-core.

(From OE-Core rev: 846e806181f1349be29cbce78c5041735dfd7e6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2022-06-21 14:10:09 +01:00
committed by Richard Purdie
parent 158323d312
commit 8ecf0849e5
3 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
inherit python_pep517 python3native python3-dir setuptools3-base
DEPENDS += "python3-hatchling-native"
PEP517_BUILD_API = "hatchling.build"