[oe] [meta-python][PATCH] python-twisted: add missing RDEPENDS for conch

Trevor Gamblin Trevor.Gamblin at windriver.com
Tue Dec 10 22:22:59 UTC 2019


From: Trevor Gamblin <trevor.gamblin at windriver.com>

import twisted.conch.checkers outputs error messages like the
following for multiple modules:

|Python 3.7.4 (default, Oct 28 2019, 02:05:50)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.conch.checkers
|
|Error message :
|File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
|File "/usr/lib64/python3.7/site-packages/twisted/conch/checkers.py", line 32, in
|<module>
|from twisted.conch.ssh import keys
|File "/usr/lib64/python3.7/site-packages/twisted/conch/ssh/keys.py", line 18, in
|<module>
|import bcrypt
|No module named 'bcrypt'

Add the missing RDEPENDS so that it works (bcrypt, cryptography, pyasn1,
pickle).

Signed-off-by: Trevor Gamblin <trevor.gamblin at windriver.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 67c90e32a..084123b97 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -58,7 +58,7 @@ RDEPENDS_${PN} = "\
 
 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}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt ${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-names = "${PN}-core"
 RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
-- 
2.24.0



More information about the Openembedded-devel mailing list