summaryrefslogtreecommitdiffstats
path: root/meta/classes/python_hatchling.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-06-21 14:10:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-22 22:40:28 +0100
commit8ecf0849e5d9c2f4f9d82a2816f0426426b9f33a (patch)
tree7635dc9a236e91f3efe7dff9e7298d825d9a5b28 /meta/classes/python_hatchling.bbclass
parent158323d312d89ae4230bcf2dd2b4ad6c22da3ea6 (diff)
downloadpoky-8ecf0849e5d9c2f4f9d82a2816f0426426b9f33a.tar.gz
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>
Diffstat (limited to 'meta/classes/python_hatchling.bbclass')
-rw-r--r--meta/classes/python_hatchling.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/python_hatchling.bbclass b/meta/classes/python_hatchling.bbclass
new file mode 100644
index 0000000000..b3cbe23601
--- /dev/null
+++ b/meta/classes/python_hatchling.bbclass
@@ -0,0 +1,5 @@
1inherit python_pep517 python3native python3-dir setuptools3-base
2
3DEPENDS += "python3-hatchling-native"
4
5PEP517_BUILD_API = "hatchling.build"