All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python3: move sqlite files into python-sqlite
@ 2018-09-26 12:02 Ross Burton
  2018-09-26 18:08 ` Alejandro Hernandez
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2018-09-26 12:02 UTC (permalink / raw)
  To: openembedded-core

sqlite3/__init__.py was accidentally included in python3-misc.

Signed-off-by: Ross Burton <ross.burton@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"
         ],
         "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": {
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] python3: move sqlite files into python-sqlite
  2018-09-26 12:02 [PATCH] python3: move sqlite files into python-sqlite Ross Burton
@ 2018-09-26 18:08 ` Alejandro Hernandez
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Hernandez @ 2018-09-26 18:08 UTC (permalink / raw)
  To: Ross Burton, openembedded-core

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@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": {


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-26 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26 12:02 [PATCH] python3: move sqlite files into python-sqlite Ross Burton
2018-09-26 18:08 ` Alejandro Hernandez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.