From 3324cb31670f33ffe193e550e3b3da8380b3c8c9 Mon Sep 17 00:00:00 2001 From: Alejandro Enedino Hernandez Samaniego Date: Thu, 29 Mar 2018 23:28:31 -0700 Subject: python3: Fix do_create_manifest for python3-sqlite3 Some of the sqlite3 files ended up in python3-misc incorrectly, this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3 folder on the package because we also have another sqlite3-tests package that needs to include another folder from that directory. This patch not only fixes the do_create_manifest script to handle this situation, but also patches the manifest (created using the script) which also fixes a hiddn runtime dependency that we wouldn't have seen. Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Richard Purdie --- .../recipes-devtools/python/python3/python3-manifest.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'meta/recipes-devtools/python/python3/python3-manifest.json') diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 911be8e971..26fa613eff 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -591,8 +591,7 @@ ], "rdepends": [ "core", - "stringold", - "netserver" + "stringold" ], "summary": "Python logging support" }, @@ -978,14 +977,18 @@ }, "sqlite3": { "cached": [ - "${libdir}/python3.5/sqlite3/__pycache__/*.pyc" + "${libdir}/python3.5/sqlite3/__pycache__", + "${libdir}/python3.5/sqlite3/__pycache__/dbapi2.*.pyc", + "${libdir}/python3.5/sqlite3/__pycache__/dump.*.pyc" ], "files": [ "${libdir}/python3.5/lib-dynload/_sqlite3.*.so", - "${libdir}/python3.5/sqlite3/*.py" + "${libdir}/python3.5/sqlite3/dbapi2.py", + "${libdir}/python3.5/sqlite3/dump.py" ], "rdepends": [ - "core" + "core", + "datetime" ], "summary": "Python Sqlite3 database support" }, @@ -1145,4 +1148,4 @@ ], "summary": "Python XML-RPC support" } -} +} \ No newline at end of file -- cgit v1.2.3