diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-22 00:52:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-23 17:44:41 +0100 |
commit | fd23044c46799dc0dea7bc4083373cf26a7d897f (patch) | |
tree | f8ef45bc2db635ab01b2936f9c5816b493a8e031 | |
parent | 19b2f7c278b20bab737fe7ebbec5fe331547ff8a (diff) | |
download | poky-fd23044c46799dc0dea7bc4083373cf26a7d897f.tar.gz |
python-3.5-manifest.inc: the signal module RDEPENDS on enum
Fixed:
$ python3
>>> import signal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/path/to/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python3.5/signal.py", line 4, in <module>
from enum import IntEnum as _IntEnum
ImportError: No module named 'enum'
(From OE-Core rev: 6306dc8351c19059c4c2a8e75bb5733e64532732)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python-3.5-manifest.inc | 2 | ||||
-rwxr-xr-x | scripts/contrib/python/generate-manifest-3.5.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python-3.5-manifest.inc b/meta/recipes-devtools/python/python-3.5-manifest.inc index b9c2fec3f1..bc6842bfca 100644 --- a/meta/recipes-devtools/python/python-3.5-manifest.inc +++ b/meta/recipes-devtools/python/python-3.5-manifest.inc | |||
@@ -206,7 +206,7 @@ RDEPENDS_${PN}-shell="${PN}-core ${PN}-re ${PN}-compression" | |||
206 | FILES_${PN}-shell="${libdir}/python3.5/cmd.* ${libdir}/python3.5/commands.* ${libdir}/python3.5/dircache.* ${libdir}/python3.5/fnmatch.* ${libdir}/python3.5/glob.* ${libdir}/python3.5/popen2.* ${libdir}/python3.5/shlex.* ${libdir}/python3.5/shutil.* " | 206 | FILES_${PN}-shell="${libdir}/python3.5/cmd.* ${libdir}/python3.5/commands.* ${libdir}/python3.5/dircache.* ${libdir}/python3.5/fnmatch.* ${libdir}/python3.5/glob.* ${libdir}/python3.5/popen2.* ${libdir}/python3.5/shlex.* ${libdir}/python3.5/shutil.* " |
207 | 207 | ||
208 | SUMMARY_${PN}-signal="Python set handlers for asynchronous events support" | 208 | SUMMARY_${PN}-signal="Python set handlers for asynchronous events support" |
209 | RDEPENDS_${PN}-signal="${PN}-core" | 209 | RDEPENDS_${PN}-signal="${PN}-core ${PN}-enum" |
210 | FILES_${PN}-signal="${libdir}/python3.5/signal.* " | 210 | FILES_${PN}-signal="${libdir}/python3.5/signal.* " |
211 | 211 | ||
212 | SUMMARY_${PN}-smtpd="Python Simple Mail Transport Daemon" | 212 | SUMMARY_${PN}-smtpd="Python Simple Mail Transport Daemon" |
diff --git a/scripts/contrib/python/generate-manifest-3.5.py b/scripts/contrib/python/generate-manifest-3.5.py index 3a88018c16..9f53dbe2fe 100755 --- a/scripts/contrib/python/generate-manifest-3.5.py +++ b/scripts/contrib/python/generate-manifest-3.5.py | |||
@@ -345,7 +345,7 @@ if __name__ == "__main__": | |||
345 | m.addPackage( "${PN}-shell", "Python shell-like functionality", "${PN}-core ${PN}-re ${PN}-compression", | 345 | m.addPackage( "${PN}-shell", "Python shell-like functionality", "${PN}-core ${PN}-re ${PN}-compression", |
346 | "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" ) | 346 | "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" ) |
347 | 347 | ||
348 | m.addPackage( "${PN}-signal", "Python set handlers for asynchronous events support", "${PN}-core", | 348 | m.addPackage( "${PN}-signal", "Python set handlers for asynchronous events support", "${PN}-core ${PN}-enum", |
349 | "signal.*" ) | 349 | "signal.*" ) |
350 | 350 | ||
351 | m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle ${PN}-threading ${PN}-signal ${PN}-selectors", | 351 | m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle ${PN}-threading ${PN}-signal ${PN}-selectors", |