[oe] [meta-python][PATCH] python-twisted: Add more python-twisted-* packages to the "meta" package

Mark Asselstine mark.asselstine at windriver.com
Tue Oct 30 15:14:18 UTC 2018


Whereas the python-twisted-core package is used to install the minimum
components of python-twisted, the python-twisted package is
essentially a 'meta' package which installs all of the
python-twisted-* packages (used by folks that don't want to determine
which components they are interested in). Add additional packages to
the python-twisted 'meta' package.

NOTE: that there are still modules of python-twisted which have not
been ported to python3 (see src/twisted/python/_setup.py
"notPortedModules") so the installed packages for py2 vs. py3 will not
be the same (ie. python-twisted-news is only part of the py2 package).

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---

Please consider this for the 'thud' branch as well. Thanks.

 meta-python/recipes-devtools/python/python-twisted.inc       | 3 +++
 meta-python/recipes-devtools/python/python-twisted_18.4.0.bb | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc
index 260909b..01616b1 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -49,9 +49,12 @@ RDEPENDS_${PN} = "\
     ${PN}-conch \
     ${PN}-mail \
     ${PN}-names \
+    ${PN}-pair \
+    ${PN}-protocols \
     ${PN}-runner \
     ${PN}-web \
     ${PN}-words \
+    ${PN}-zsh \
 "
 
 RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat"
diff --git a/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb b/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
index 2be1709..5903db3 100644
--- a/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
@@ -2,3 +2,7 @@ inherit pypi setuptools
 require python-twisted.inc
 
 RDEPENDS_${PN}-core += "${PYTHON_PN}-contextlib"
+
+RDEPENDS_${PN} += " \
+    ${PN}-news \
+"
-- 
2.7.4




More information about the Openembedded-devel mailing list