python3-hatchling: add new recipe and build class

Hatchling is the build backend used by the Hatch tool.  Add the recipe
and a pep517 build class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2022-05-24 13:11:51 +01:00
committed by Khem Raj
parent 07c2e3273c
commit 4aebf7e4b2
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"