aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-05-24 13:11:51 +0100
committerKhem Raj <raj.khem@gmail.com>2022-05-29 06:39:14 -0700
commit4aebf7e4b226621f4ffe531b8a34510cf3b13742 (patch)
treeb4dd418cf23faa59d614273e0f294e4912071fb1 /meta-python/classes
parent07c2e3273c93d9585b7656ffe3518d147f1e56ae (diff)
downloadmeta-openembedded-contrib-4aebf7e4b226621f4ffe531b8a34510cf3b13742.tar.gz
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>
Diffstat (limited to 'meta-python/classes')
-rw-r--r--meta-python/classes/python_hatchling.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/classes/python_hatchling.bbclass b/meta-python/classes/python_hatchling.bbclass
new file mode 100644
index 0000000000..b3cbe23601
--- /dev/null
+++ b/meta-python/classes/python_hatchling.bbclass
@@ -0,0 +1,5 @@
+inherit python_pep517 python3native python3-dir setuptools3-base
+
+DEPENDS += "python3-hatchling-native"
+
+PEP517_BUILD_API = "hatchling.build"