All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-twisted: Fix dependencies of twisted modules
@ 2015-01-27 18:08 Mike Looijmans
  2015-01-28 10:48 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Looijmans @ 2015-01-27 18:08 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Mike Looijmans

When installing just "twisted-web" on a device, none of the dependencies
are being copied, it wouldn't even install python-core. Fix the recipe so
that its packages have proper dependencies, and no longer require to install
the empty python-twisted meta recipe.

Add "python-contextlib" to the core dependencies and stop causing systems
to crash with:
  File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py", line 18, in <module>
    ImportError: No module named contextlib

Signed-off-by: Mike Looijmans <milo-software@users.sourceforge.net>
---
 .../python/python-twisted_13.2.0.bb                |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb b/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
index 80d64a0..8930169 100644
--- a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
+++ b/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
@@ -38,8 +38,7 @@ PACKAGES += "\
     ${PN}-core \
 "
 
-RDEPENDS_${PN} = "python-core python-zopeinterface"
-RDEPENDS_${PN} += "\
+RDEPENDS_${PN} = "\
     ${PN}-conch \
     ${PN}-lore \
     ${PN}-mail \
@@ -50,6 +49,20 @@ RDEPENDS_${PN} += "\
     ${PN}-words \
 "
 
+RDEPENDS_${PN}-core = "python-core python-zopeinterface python-contextlib"
+RDEPENDS_${PN}-test = "${PN}"
+RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
+RDEPENDS_${PN}-lore = "${PN}-core"
+RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
+RDEPENDS_${PN}-names = "${PN}-core"
+RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
+RDEPENDS_${PN}-runner = "${PN}-core ${PN}-protocols"
+RDEPENDS_${PN}-web += "${PN}-core ${PN}-protocols"
+RDEPENDS_${PN}-words += "${PN}-core"
+RDEPENDS_${PN}-flow += "${PN}-core"
+RDEPENDS_${PN}-pair += "${PN}-core"
+RDEPENDS_${PN}-dbg = "${PN}"
+
 ALLOW_EMPTY_${PN} = "1"
 FILES_${PN} = ""
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-28 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-27 18:08 [PATCH] python-twisted: Fix dependencies of twisted modules Mike Looijmans
2015-01-28 10:48 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.