[oe-commits] [meta-openembedded] 11/19: python-twisted: add python3-pyserial to RDEPENDS

git at git.openembedded.org git at git.openembedded.org
Sat Dec 7 23:47:16 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit f28cdc86d83c9ca265fee99328974c1cda9b95f9
Author: Trevor Gamblin <trevor.gamblin at windriver.com>
AuthorDate: Fri Dec 6 13:08:10 2019 -0500

    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 at 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 at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python-twisted.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc
index 34f8846..67c90e3 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -56,7 +56,7 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat ${PYTHON_PN}-pyserial"
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list