Skip to contentSkip to conversation

python-twisted: add missing RDEPENDS for conch

PATCH New Trevor Gamblin 1 participant 1 message Dec 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-twisted: add missing RDEPENDS for conch

From: Trevor Gamblin <[email protected]>

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).

---
 meta-python/recipes-devtools/python/python-twisted.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +1 -1
index 67c90e32a..084123b97 100644
@@ -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"
Signature · 1 line
2.24.0