Skip to contentSkip to conversation

python3-twisted: add python3-appdirs to RDEPENDS

PATCH New Trevor Gamblin 1 participant 1 message Mar 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-twisted: add python3-appdirs to RDEPENDS

From: Trevor Gamblin <[email protected]>

python3-twisted requires python3-appdirs to support some submodules:

|root@intel-x86-64:~# python3
|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.python._appdirs
|
|Error message :
|File "<frozen importlib._bootstrap>", line 219, in
|_call_with_frames_removed
|File "/usr/lib64/python3.7/site-packages/twisted/python/_appdirs.py",
|line 11, in <module>
|import appdirs
|No module named 'appdirs'

Also rearranged the RDEPENDS list for twisted-core to be in alphabetical order.

---
 .../recipes-devtools/python/python-twisted.inc      | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python-twisted.inc +7 -6
index f830dee60..7537bafd3 100644
@@ -61,16 +61,17 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core \ 
-                       ${PYTHON_PN}-zopeinterface \
-                       ${PYTHON_PN}-incremental \
+RDEPENDS_${PN}-core = "${PYTHON_PN}-appdirs \
+                       ${PYTHON_PN}-automat \
                        ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-core \ 
+                       ${PYTHON_PN}-debugger \
                        ${PYTHON_PN}-hyperlink \
-                       ${PYTHON_PN}-automat \
-                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-incremental \
                        ${PYTHON_PN}-pyhamcrest \
-                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-pyserial \
                        ${PYTHON_PN}-unixadmin \
+                       ${PYTHON_PN}-zopeinterface \
 "
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt ${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle"
Signature · 1 line
2.24.1