Skip to contentSkip to conversation

python-twisted: add required RDEPENDS for twistd

PATCH New Tim Orling 1 participant 2 messages Feb 7, 2020

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/2 python-twisted: add required RDEPENDS for twistd

From: Trevor Gamblin <[email protected]>

python-twisted is currently missing some packages for its /usr/bin/twistd executable to function. Add these to the RDEPENDS list, and also clean up formatting since the list is getting long.

Note that a similar patch has already been submitted for master branch, but the python2 version of twisted needs more explicit RDEPENDS than the python3 version submitted to master in order for /usr/bin/twistd to work properly.

---
 .../python/python-twisted_19.10.0.bb           | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
recipes-devtools/python/python-twisted_19.10.0.bb +17 -1
index 4e07d522..51a495a0 100644
@@ -63,7 +63,23 @@ 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 ${PYTHON_PN}-pyserial"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-core \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-misc \
+                       ${PYTHON_PN}-pkg-resources \
+                       ${PYTHON_PN}-pkgutil \
+                       ${PYTHON_PN}-plistlib \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-setuptools \
+                       ${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"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
Signature · 1 line
2.25.0
author
#1 lore raw

PATCH 2/2 python-twisted: cosmetic changes to RDEPENDS

Make the RDEPENDS indent consistent and break
long lines into multiline.

---
 .../python/python-twisted_19.10.0.bb          | 42 ++++++++++++-------
 1 file changed, 26 insertions(+), 16 deletions(-)
recipes-devtools/python/python-twisted_19.10.0.bb +26 -16
index 51a495a0..aee6f5ae 100644
@@ -63,25 +63,35 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
-                       ${PYTHON_PN}-constantly \
-                       ${PYTHON_PN}-core \
-                       ${PYTHON_PN}-debugger \
-                       ${PYTHON_PN}-hyperlink \
-                       ${PYTHON_PN}-incremental \
-                       ${PYTHON_PN}-misc \
-                       ${PYTHON_PN}-pkg-resources \
-                       ${PYTHON_PN}-pkgutil \
-                       ${PYTHON_PN}-plistlib \
-                       ${PYTHON_PN}-pyhamcrest \
-                       ${PYTHON_PN}-pyserial \
-                       ${PYTHON_PN}-setuptools \
-                       ${PYTHON_PN}-unixadmin \
-                       ${PYTHON_PN}-zopeinterface \
+RDEPENDS_${PN}-core = " \
+    ${PYTHON_PN}-automat \
+    ${PYTHON_PN}-constantly \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-hyperlink \
+    ${PYTHON_PN}-incremental \
+    ${PYTHON_PN}-misc \
+    ${PYTHON_PN}-pkg-resources \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-plistlib \
+    ${PYTHON_PN}-pyhamcrest \
+    ${PYTHON_PN}-pyserial \
+    ${PYTHON_PN}-setuptools \
+    ${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"
+
+RDEPENDS_${PN}-conch = " \
+    ${PN}-core \
+    ${PN}-protocols \
+    ${PYTHON_PN}-bcrypt \
+    ${PYTHON_PN}-cryptography \
+    ${PYTHON_PN}-pickle \
+    ${PYTHON_PN}-pyasn1 \
+"
+
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-names = "${PN}-core"
 RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
Signature · 1 line
2.25.0