Python signal module RDEPENDS fix
PATCH 1/1 python-3.5-manifest.inc: the signal module RDEPENDS on enum
In reply to Enrico JornsFrom: Robert Yang <[email protected]>
Fixed:
$ python3
Quoted 1 line
Quoted 1 line
Quoted 1 line
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)
--- meta/recipes-devtools/python/python-3.5-manifest.inc | 2 +- scripts/contrib/python/generate-manifest-3.5.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python-3.5-manifest.inc +1 -1
@@ -206,7 +206,7 @@ RDEPENDS_${PN}-shell="${PN}-core ${PN}-re ${PN}-compression" 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.* " SUMMARY_${PN}-signal="Python set handlers for asynchronous events support" -RDEPENDS_${PN}-signal="${PN}-core" +RDEPENDS_${PN}-signal="${PN}-core ${PN}-enum" FILES_${PN}-signal="${libdir}/python3.5/signal.* " SUMMARY_${PN}-smtpd="Python Simple Mail Transport Daemon"
scripts/contrib/python/generate-manifest-3.5.py +1 -1
@@ -345,7 +345,7 @@ if __name__ == "__main__": 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}-signal", "Python set handlers for asynchronous events support", "${PN}-core", + m.addPackage( "${PN}-signal", "Python set handlers for asynchronous events support", "${PN}-core ${PN}-enum", "signal.*" ) m.addPackage( "${PN}-subprocess", "Python subprocess support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle ${PN}-threading ${PN}-signal ${PN}-selectors",
Signature · 1 line
2.9.3
PATCH 1/1 Python signal module RDEPENDS fix
The attached patch from OE-core master branch (6306dc8351c19059c4c2a8e75bb5733e64532732) fixes a dependency issue introduces with OE-Core patch 0575e8c9fb52a7b594025fd20445a2edd06e3c69 "python3: Fixes several python3 dependency problems".
As the latter patch also made its way into the krogoth branch (as OE-Core rev 8c0f2775bcc25f460d7a0b38031690fa10a0f11d), the attached patch is also required in the krogoth branch. Otherwise a stable update will break builds that use the python 'signal' module!
Robert Yang (1):
python-3.5-manifest.inc: the signal module RDEPENDS on enum
meta/recipes-devtools/python/python-3.5-manifest.inc | 2 +- scripts/contrib/python/generate-manifest-3.5.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.3