diff options
| author | MiLo <milo-software@users.sourceforge.net> | 2015-01-27 19:08:36 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-12 19:31:53 +0100 |
| commit | 10a483537723255549ec9030d619e0e3f60772ac (patch) | |
| tree | 64e6e4f7e2b9ebc3ad0e7b7477e4ea4a98e4e633 /meta-python/recipes-devtools/python/python-twisted_13.2.0.bb | |
| parent | 736e3daa82f1a3ceeb99601356a9d5119cb799a0 (diff) | |
| download | meta-openembedded-10a483537723255549ec9030d619e0e3f60772ac.tar.gz | |
python-twisted: Fix dependencies of twisted modules
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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-twisted_13.2.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-twisted_13.2.0.bb | 17 |
1 files 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 80d64a0193..89301691e1 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 += "\ | |||
| 38 | ${PN}-core \ | 38 | ${PN}-core \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | RDEPENDS_${PN} = "python-core python-zopeinterface" | 41 | RDEPENDS_${PN} = "\ |
| 42 | RDEPENDS_${PN} += "\ | ||
| 43 | ${PN}-conch \ | 42 | ${PN}-conch \ |
| 44 | ${PN}-lore \ | 43 | ${PN}-lore \ |
| 45 | ${PN}-mail \ | 44 | ${PN}-mail \ |
| @@ -50,6 +49,20 @@ RDEPENDS_${PN} += "\ | |||
| 50 | ${PN}-words \ | 49 | ${PN}-words \ |
| 51 | " | 50 | " |
| 52 | 51 | ||
| 52 | RDEPENDS_${PN}-core = "python-core python-zopeinterface python-contextlib" | ||
| 53 | RDEPENDS_${PN}-test = "${PN}" | ||
| 54 | RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols" | ||
| 55 | RDEPENDS_${PN}-lore = "${PN}-core" | ||
| 56 | RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols" | ||
| 57 | RDEPENDS_${PN}-names = "${PN}-core" | ||
| 58 | RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols" | ||
| 59 | RDEPENDS_${PN}-runner = "${PN}-core ${PN}-protocols" | ||
| 60 | RDEPENDS_${PN}-web += "${PN}-core ${PN}-protocols" | ||
| 61 | RDEPENDS_${PN}-words += "${PN}-core" | ||
| 62 | RDEPENDS_${PN}-flow += "${PN}-core" | ||
| 63 | RDEPENDS_${PN}-pair += "${PN}-core" | ||
| 64 | RDEPENDS_${PN}-dbg = "${PN}" | ||
| 65 | |||
| 53 | ALLOW_EMPTY_${PN} = "1" | 66 | ALLOW_EMPTY_${PN} = "1" |
| 54 | FILES_${PN} = "" | 67 | FILES_${PN} = "" |
| 55 | 68 | ||
