python: move sqlite module into python-sqlite

Message ID 20180926115449.27766-1-ross.burton@intel.com
State New
Headers show
Series
  • python: move sqlite module into python-sqlite
Related show

Commit Message

Ross Burton Sept. 26, 2018, 11:54 a.m.
The module was accidentally included in python-misc.

[ YOCTO #12933 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-devtools/python/python/python2-manifest.json | 1 +
 1 file changed, 1 insertion(+)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Alejandro Hernandez Sept. 26, 2018, 5:58 p.m. | #1
Hey Ross,

On 9/26/2018 4:54 AM, Ross Burton wrote:
> The module was accidentally included in python-misc.

>

> [ YOCTO #12933 ]

>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>   meta/recipes-devtools/python/python/python2-manifest.json | 1 +

>   1 file changed, 1 insertion(+)

>

> diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json

> index 1e7004e05ea..d3cf66214a3 100644

> --- a/meta/recipes-devtools/python/python/python2-manifest.json

> +++ b/meta/recipes-devtools/python/python/python2-manifest.json

> @@ -884,6 +884,7 @@

>               "core"

>           ],



I'm pretty sure this issue was caused because we had the sqlite3-tests 
package hence we couldnt include the sqlite3 directory on the sqlite3 
package, this should work fine now ( I think).

After editing the manifest you need to run the create_manifest task to 
check for new dependencies that we might have missed, e.g. the sqlite3 
package rdepends on datetime.

Cheers,

Alejandro


>           "files": [

> +            "${libdir}/python2.7/sqlite3/",

>               "${libdir}/python2.7/lib-dynload/_sqlite3.so"

>           ]

>       },

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json
index 1e7004e05ea..d3cf66214a3 100644
--- a/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/meta/recipes-devtools/python/python/python2-manifest.json
@@ -884,6 +884,7 @@ 
             "core"
         ], 
         "files": [
+            "${libdir}/python2.7/sqlite3/",
             "${libdir}/python2.7/lib-dynload/_sqlite3.so"
         ]
     },