Files
meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc
Trevor Gamblin 53e62e4e57 python-twisted: add python3-pyserial to RDEPENDS
twisted's internet submodule has serial port functionality that relies
on python3-pyserial to be available, but this isn't in twisted's RDEPENDS
list, so imports of the serial port functionality will fail:

|root@qemux86-64:~# python3
|Python 3.7.5 (default, Dec  5 2019, 23:01:22)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.internet.serialport
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.7/site-packages/twisted/internet/serialport.py", line 21, in <module>
|    import serial
|ModuleNotFoundError: No module named 'serial'
|>>>

Since the internet submodule is part of the twisted-core split, add
python3-pyserial to RDEPENDS for that part of the recipe.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-08 23:00:57 -08:00

9.8 KiB