[oe-commits] Christian Charreyre : python-numpy: add missing runtime dependencies

git version control git at git.openembedded.org
Thu May 26 18:48:23 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: 3a50b954d8c832782d9b9d29ff181d8a54a5e9e5
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=3a50b954d8c832782d9b9d29ff181d8a54a5e9e5

Author: Christian Charreyre <christian.charreyre at cioinfoindus.fr>
Date:   Fri Apr 29 17:43:58 2011 +0200

python-numpy: add missing runtime dependencies

Without these runtime dependencies there are errors on the target when executing `mypaint`, because `python-numpy` code calls `import` from the distinct packages.

TODO: It is not clear where this error originates from and what the best fix is. There are the following alternatives.

1. Add the runtime dependencies to `mypaint`.
2. Add these packages to `RRECOMMENDS`.

This patch is build tested using `angstrom-2010.x` for `MACHINE = "beagleboard"`.

Signed-off-by: Christian Charreyre <christian.charreyre at cioinfoindus.fr>
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 recipes/python/python-numpy_1.1.1.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python-numpy_1.1.1.bb b/recipes/python/python-numpy_1.1.1.bb
index f5c23e0..8594ea0 100644
--- a/recipes/python/python-numpy_1.1.1.bb
+++ b/recipes/python/python-numpy_1.1.1.bb
@@ -4,6 +4,8 @@ PRIORITY = "optional"
 LICENSE = "PSF"
 PR = "ml0"
 
+RDEPENDS_${PN} = "python-compiler python-mmap python-pkgutil python-pydoc python-unittest"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
            file://unbreak-assumptions.diff \
 	   file://trycompile.diff \





More information about the Openembedded-commits mailing list