[OE-core] [PATCH] python3: move sqlite files into python-sqlite
Alejandro Hernandez
alejandro.enedino.hernandez-samaniego at xilinx.com
Wed Sep 26 18:08:36 UTC 2018
Hey Ross,
On 9/26/2018 5:02 AM, Ross Burton wrote:
> sqlite3/__init__.py was accidentally included in python3-misc.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/recipes-devtools/python/python3/python3-manifest.json | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
> index 539b7967b59..fe8bb992928 100644
> --- a/meta/recipes-devtools/python/python3/python3-manifest.json
> +++ b/meta/recipes-devtools/python/python3/python3-manifest.json
> @@ -994,13 +994,11 @@
> ],
> "files": [
> "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sqlite3.*.so",
> - "${libdir}/python${PYTHON_MAJMIN}/sqlite3/dbapi2.py",
> - "${libdir}/python${PYTHON_MAJMIN}/sqlite3/dump.py"
> + "${libdir}/python${PYTHON_MAJMIN}/sqlite3/*.py"
> ],
For python modules that use an __init__.py file, they need to include
the directory instead of the wildcard *.py, that way when the manifest
is created it passes the whole directory to the new manifest, and it
does check for dependencies with the directory name, otherwise the
wildcard is just ignored and cant check for rdepends.
Cheers,
Alejandro
> "cached": [
> "${libdir}/python${PYTHON_MAJMIN}/sqlite3/__pycache__",
> - "${libdir}/python${PYTHON_MAJMIN}/sqlite3/__pycache__/dbapi2.*.pyc",
> - "${libdir}/python${PYTHON_MAJMIN}/sqlite3/__pycache__/dump.*.pyc"
> + "${libdir}/python${PYTHON_MAJMIN}/sqlite3/__pycache__/*.pyc"
> ]
> },
> "stringold": {
More information about the Openembedded-core
mailing list