Skip to contentSkip to conversation

python-twisted: add required RDEPENDS for twistd

PATCH Superseded Trevor Gamblin 2 participants 4 messages Jan 27, 2020 – Jan 30, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +17 -1
index d70104dc2..f55bbb033 100644
@@ -56,7 +56,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"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core \ 
+                       ${PYTHON_PN}-zopeinterface \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-automat \
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-unixadmin \
+                       ${PYTHON_PN}-pkg-resources \
+                       ${PYTHON_PN}-misc \
+                       ${PYTHON_PN}-pkgutil \
+                       ${PYTHON_PN}-plistlib \
+                       ${PYTHON_PN}-setuptools \
+"
+
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/2 pyhamcrest: add python3 version of recipe

Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus there is only a python2 recipe for this package, thus the twistd daemon won't be able to run properly for python3.

---
 .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb new file +10 -0
new file mode 100644
index 000000000..04aa9b47f
@@ -0,0 +1,10 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
+SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
+
+inherit pypi setuptools3
Signature · 1 line
2.23.0
#2 lore raw
In reply to Trevor Gamblin
Quoted 33 lines · Trevor Gamblin

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..f55bbb033 100644
@@ -56,7 +56,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"

meta-python/recipes-devtools/python/python-twisted.inc +6 -0
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core \
+                       ${PYTHON_PN}-zopeinterface \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-automat \

meta-python/recipes-devtools/python/python-twisted.inc RDEPENDS_${PN} = "\ · line 74

Quoted 10 lines
meta-python/recipes-devtools/python/python-twisted.inc +10 -0
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-unixadmin \
+                       ${PYTHON_PN}-pkg-resources \
+                       ${PYTHON_PN}-misc \
+                       ${PYTHON_PN}-pkgutil \
+                       ${PYTHON_PN}-plistlib \
+                       ${PYTHON_PN}-setuptools \
+"

Please sort this alphabetically. It is MUCH easier to see what is present or missing that way.

+

Quoted 12 lines

RDEPENDS_${PN}-test = "${PN}" RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols" RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
--
2.23.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 56 lines · Tim Orling

On Mon, Jan 27, 2020 at 12:44 PM Trevor Gamblin <[email protected] <mailto:[email protected]>> wrote:

    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.

    Signed-off-by: Trevor Gamblin <[email protected]
    <mailto:[email protected]>>
    ---
     .../recipes-devtools/python/python-twisted.inc | 18
    +++++++++++++++++-
     1 file changed, 17 insertions(+), 1 deletion(-)

    diff --git
    a/meta-python/recipes-devtools/python/python-twisted.inc
    b/meta-python/recipes-devtools/python/python-twisted.inc
    index d70104dc2..f55bbb033 100644
    --- a/meta-python/recipes-devtools/python/python-twisted.inc
    +++ b/meta-python/recipes-devtools/python/python-twisted.inc
    @@ -56,7 +56,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"
    +RDEPENDS_${PN}-core = "${PYTHON_PN}-core \
    +                       ${PYTHON_PN}-zopeinterface \
    +                       ${PYTHON_PN}-incremental \
    +                       ${PYTHON_PN}-constantly \
    +                       ${PYTHON_PN}-hyperlink \
    +                       ${PYTHON_PN}-automat \
    +                       ${PYTHON_PN}-pyserial \
    +                       ${PYTHON_PN}-pyhamcrest \
    +                       ${PYTHON_PN}-debugger \
    +                       ${PYTHON_PN}-unixadmin \
    +                       ${PYTHON_PN}-pkg-resources \
    +                       ${PYTHON_PN}-misc \
    +                       ${PYTHON_PN}-pkgutil \
    +                       ${PYTHON_PN}-plistlib \
    +                       ${PYTHON_PN}-setuptools \
    +"
Quoted 1 line

Please sort this alphabetically. It is MUCH easier to see what is present or missing that way.

Done, v2 sent.

Quoted 15 lines
    +
     RDEPENDS_${PN}-test = "${PN}"
     RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
     RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
    -- 
    2.23.0

    -- 
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel