Skip to contentSkip to conversation

python-3.4-manifest: Add some missing RDEPENDS

PATCH In review Kyle Russell 3 participants 7 messages Aug 1, 2016 – Aug 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-3.4-manifest: Add some missing RDEPENDS

Several packages were missing RDEPENDS on other modules they import.

---
 scripts/contrib/python/generate-manifest-3.4.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
scripts/contrib/python/generate-manifest-3.4.py +5 -5
index ca2fa61..ba4ab72 100755
@@ -229,7 +229,7 @@ if __name__ == "__main__":
     m.addPackage( "${PN}-curses", "Python curses support", "${PN}-core",
     "curses lib-dynload/_curses.*.so lib-dynload/_curses_panel.*.so" ) # directory + low level module
 
-    m.addPackage( "${PN}-ctypes", "Python C types support", "${PN}-core",
+    m.addPackage( "${PN}-ctypes", "Python C types support", "${PN}-core ${PN}-subprocess",
     "ctypes lib-dynload/_ctypes.*.so lib-dynload/_ctypes_test.*.so" ) # directory + low level module
 
     m.addPackage( "${PN}-datetime", "Python calendar and time support", "${PN}-core ${PN}-codecs",
@@ -282,7 +282,7 @@ if __name__ == "__main__":
     m.addPackage( "${PN}-json", "Python JSON support", "${PN}-core ${PN}-math ${PN}-re",
     "json lib-dynload/_json.*.so" ) # package
 
-    m.addPackage( "${PN}-lang", "Python low-level language support", "${PN}-core",
+    m.addPackage( "${PN}-lang", "Python low-level language support", "${PN}-core ${PN}-importlib",
     "lib-dynload/_bisect.*.so lib-dynload/_collections.*.so lib-dynload/_heapq.*.so lib-dynload/_weakref.*.so lib-dynload/_functools.*.so " +
     "lib-dynload/array.*.so lib-dynload/itertools.*.so lib-dynload/operator.*.so lib-dynload/parser.*.so " +
     "atexit.* bisect.* code.* codeop.* collections.* _collections_abc.* dis.* functools.* heapq.* inspect.* keyword.* opcode.* symbol.* repr.* token.* " +
@@ -294,7 +294,7 @@ if __name__ == "__main__":
     m.addPackage( "${PN}-mailbox", "Python mailbox format support", "${PN}-core ${PN}-mime",
     "mailbox.*" )
 
-    m.addPackage( "${PN}-math", "Python math support", "${PN}-core",
+    m.addPackage( "${PN}-math", "Python math support", "${PN}-core ${PN}-crypt",
     "lib-dynload/cmath.*.so lib-dynload/math.*.so lib-dynload/_random.*.so random.* sets.*" )
 
     m.addPackage( "${PN}-mime", "Python MIME handling APIs", "${PN}-core ${PN}-io",
@@ -340,10 +340,10 @@ if __name__ == "__main__":
     m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core",
     "lib-dynload/resource.*.so" )
 
-    m.addPackage( "${PN}-shell", "Python shell-like functionality", "${PN}-core ${PN}-re",
+    m.addPackage( "${PN}-shell", "Python shell-like functionality", "${PN}-core ${PN}-re ${PN}-compression",
     "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" )
 
-    m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle",
+    m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle ${PN}-threading",
     "subprocess.*" )
 
     m.addPackage( "${PN}-sqlite3", "Python Sqlite3 database support", "${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading",
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Kyle Russell
 scripts/contrib/python/generate-manifest-3.4.py | 10 +++++-----

Sorry, but you need to edit the script and then run the script, so the patch contains both the script and inc file changes.

Ross

#2 lore raw

Well, that makes sense. I'm just tripping all over this one.

Quoted 11 lines · Ross
Quoted 2 lines · Kyle Russell
 scripts/contrib/python/generate-manifest-3.4.py | 10 +++++-----

Sorry, but you need to edit the script and then run the script, so the patch contains both the script and inc file changes.

Ross

#3 lore raw

and when patch is ready send it to openembedded-core ml

Quoted 23 lines · Kyle Russell

Well, that makes sense. I'm just tripping all over this one.

Quoted 11 lines · Ross
Quoted 2 lines · Kyle Russell
 scripts/contrib/python/generate-manifest-3.4.py | 10 +++++-----

Sorry, but you need to edit the script and then run the script, so the patch contains both the script and inc file changes.

Ross

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw

In case anyone is interested, I posted an update for both the script and .inc to openembedded-core (which now has master at python 3.5), but it doesn't seem to have gone anywhere yet.

http://lists.openembedded.org/pipermail/openembedded-core/2016-August/124672.html

Quoted 29 lines · Khem Raj

and when patch is ready send it to openembedded-core ml

Quoted 3 lines · Kyle Russell

Well, that makes sense. I'm just tripping all over this one.

On Mon, Aug 1, 2016 at 8:29 AM, Burton, Ross <[email protected]>

Quoted 20 lines · wrote:
Quoted 11 lines · Kyle Russell
Quoted 2 lines
 scripts/contrib/python/generate-manifest-3.4.py | 10 +++++-----

Sorry, but you need to edit the script and then run the script, so the patch contains both the script and inc file changes.

Ross

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw
Quoted 4 lines · Kyle Russell

In case anyone is interested, I posted an update for both the script and .inc to openembedded-core (which now has master at python 3.5), but it doesn't seem to have gone anywhere yet.

Sorry that got stalled because the patch was mangled by your mailer so I had to fix the patch by hand. I've applied it to my staging branch, thanks.

Ross

#6 lore raw

Ok, thanks! Sorry about that, not sure what happened.

Quoted 13 lines · Ross
Quoted 4 lines · Kyle Russell

In case anyone is interested, I posted an update for both the script and .inc to openembedded-core (which now has master at python 3.5), but it doesn't seem to have gone anywhere yet.

Sorry that got stalled because the patch was mangled by your mailer so I had to fix the patch by hand. I've applied it to my staging branch, thanks.

Ross