diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-07-30 17:03:31 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-04 18:04:03 +0100 |
| commit | 3ca199c5f80f92defdf35b756a9c148cd57a4e05 (patch) | |
| tree | 5be67346717e7b82b24e52497fe610524cab8c88 /meta/classes-recipe/python_mesonpy.bbclass | |
| parent | 7a3cf79a8e19d9717a8a43cc39301958a22938dd (diff) | |
| download | poky-3ca199c5f80f92defdf35b756a9c148cd57a4e05.tar.gz | |
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.
(From OE-Core rev: 449b226aca6a5db378dc5576dde47499925dfb26)
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>
Diffstat (limited to 'meta/classes-recipe/python_mesonpy.bbclass')
| -rw-r--r-- | meta/classes-recipe/python_mesonpy.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/python_mesonpy.bbclass b/meta/classes-recipe/python_mesonpy.bbclass index 37b231cef5..3613ea19c7 100644 --- a/meta/classes-recipe/python_mesonpy.bbclass +++ b/meta/classes-recipe/python_mesonpy.bbclass | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | # SPDX-License-Identifier: MIT | 4 | # SPDX-License-Identifier: MIT |
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | inherit meson setuptools3-base python3targetconfig python_pep517 | 7 | inherit meson python_pep517 |
| 8 | 8 | ||
| 9 | # meson_do_qa_configure does the wrong thing here because | 9 | # meson_do_qa_configure does the wrong thing here because |
| 10 | # mesonpy runs "meson setup ..." in do_compile context. | 10 | # mesonpy runs "meson setup ..." in do_compile context. |
