python3: do not overwrite FILES contents

Instead of relying completely on the python packaging manifest,
allow some default values. This is useful for the edge cases that
can't be found automatically by the create_manifest step.

In particular, tkinter can't be built for python3-native, so its
consistently missed in manifest updates.

(From OE-Core rev: cc5ec75b50618ce42d5b19d0aad0b44611bf8fbe)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
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:
Dan McGregor
2024-11-26 12:06:41 -06:00
committed by Richard Purdie
parent 5d302b7611
commit f2f1782258

View File

@@ -360,7 +360,6 @@ python(){
newpackages.append(pypackage)
# "Build" python's manifest FILES, RDEPENDS and SUMMARY
d.setVar('FILES:' + pypackage, '')
for value in python_manifest[key]['files']:
d.appendVar('FILES:' + pypackage, ' ' + value)