python-twisted: restore RDEPENDS on -news for py2

Although this plugin has not yet been ported to py3 it is available in
py2. The previous commit isn't clear about what is being addressed but
I assume it is:

nothing provides python3-twisted-news needed by python3-twisted-17.9.0-r0.corei7_64

For py2 this package is valid and so we should maintain the RDEPENDS,
restore this RDEPENDS for py2.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Mark Asselstine
2017-12-15 15:21:55 -05:00
committed by Armin Kuster
parent 0f1dff98a4
commit a68639ab84

View File

@@ -2,3 +2,9 @@ inherit pypi setuptools
require python-twisted.inc
RDEPENDS_${PN}-core += "${PYTHON_PN}-contextlib"
# Not yet ported to py3 yet available in py2
# See src/twisted/python/_setup.py -- notPortedModules
RDEPENDS_${PN} += "\
${PN}-news \
"