python_pep517: set CONFIGURE_FILES

Move the CONFIGURE_FILES assignment from python_mesonpy to the common
class, as it isn't specific to mesonpy.

Also extend, so that it doesn't clobber existing settings.

(From OE-Core rev: 049cd6b62853c020b0c85ccee18638ec58887866)

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>
This commit is contained in:
Ross Burton
2025-07-29 09:59:29 +01:00
committed by Richard Purdie
parent c31d01e013
commit dfa34c27bd
2 changed files with 3 additions and 2 deletions

View File

@@ -17,8 +17,6 @@ meson_do_qa_configure () {
# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
CONFIGURE_FILES = "pyproject.toml"
DEPENDS += "python3-wheel-native python3-meson-python-native"
def mesonpy_get_args(d):

View File

@@ -61,3 +61,6 @@ python_pep517_do_bootstrap_install () {
}
EXPORT_FUNCTIONS do_configure do_compile do_install
# Tell externalsrc this changing means it needs to reconfigure
CONFIGURE_FILES += "pyproject.toml"