diff options
author | Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com> | 2018-09-04 23:45:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-06 10:36:05 +0100 |
commit | 658042073cb58c58ac4db4ff13689d1ffd89b72e (patch) | |
tree | 6c74cf9eeefc6cac2183599b7ce2c00aba1cf1b1 /scripts/lib/devtool/sdk.py | |
parent | b94af33b5ffdd62617cf69fca4d99e927447740a (diff) | |
download | openembedded-core-658042073cb58c58ac4db4ff13689d1ffd89b72e.tar.gz openembedded-core-658042073cb58c58ac4db4ff13689d1ffd89b72e.tar.bz2 openembedded-core-658042073cb58c58ac4db4ff13689d1ffd89b72e.zip |
python3: Clean up create manifest script
This patch intends to clean up the whole create_manifest script/task
for python3.
This is an effort to make the code more human friendly and facilitate
adoption, it not only cleans up the code but it also improves comments,
it should also be easier to upgrade the manifest after each python3
upgrade now, with these fixes the transition to python 3.7 should be
seamless.
It fixes a rather harmless bug where module dependencies were being
added twice to the core package and adds tests and sqlite3-tests
as special packages since we want specific dependencies on those.
It also fixes a bug that happened on a few packages that
contained a directory with the same name as the module itself
e.g. asyncio, where the script avoided checking that module for
dependencies.
Lastly, it improves the output, it errors out if a module is found
on more than one package, which is what usually happens when
python upstream introduces a new file, hence why the current
manifest is unaware of, it is better to exit with an error because
otherwise the user wouldnt know if anything went wrong unless the output
of the script was checked manually.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions