]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/python_pep517: centralise shared inherits
authorRoss Burton <ross.burton@arm.com>
Wed, 30 Jul 2025 16:03:31 +0000 (17:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Aug 2025 17:04:00 +0000 (18:04 +0100)
commit449b226aca6a5db378dc5576dde47499925dfb26
treeacdae7ce95d600ab0aeab77ef01c817a48c433b5
parent37215b6be9432da060eb20540c319b9b4967c8ec
classes/python_pep517: centralise shared inherits

For the build process to actually work some inherits are always needed:

- python3native for the python that is actually running build.
- setuptools3-base (badly named) defines how to build extensions and
  where to put modules.

Instead of inheriting these in every class, inherit them once in the
python_pep517 class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/python_flit_core.bbclass
meta/classes-recipe/python_hatchling.bbclass
meta/classes-recipe/python_mesonpy.bbclass
meta/classes-recipe/python_pep517.bbclass
meta/classes-recipe/python_poetry_core.bbclass
meta/classes-recipe/python_setuptools_build_meta.bbclass