From 846e806181f1349be29cbce78c5041735dfd7e6f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 21 Jun 2022 14:10:09 +0100 Subject: [PATCH] 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. Signed-off-by: Ross Burton Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/classes/python_hatchling.bbclass | 5 +++++ meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-hatchling_1.3.0.bb | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 meta/classes/python_hatchling.bbclass create mode 100644 meta/recipes-devtools/python/python3-hatchling_1.3.0.bb diff --git a/meta/classes/python_hatchling.bbclass b/meta/classes/python_hatchling.bbclass new file mode 100644 index 00000000000..b3cbe23601b --- /dev/null +++ b/meta/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" diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 62e0ac24e35..cf7723deb08 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -612,6 +612,7 @@ RECIPE_MAINTAINER:pn-python3-extras = "Oleksandr Kravchuk