[39/40] python: Add python to the dependencies of python modules
Submitted by Mark Hatle on June 22, 2011, 5:36 p.m.
|
Patch ID: 6317
Details
Commit Message
@@ -1,9 +1,9 @@
DESCRIPTION = "Python Gstreamer bindings"
SECTION = "devel/python"
LICENSE = "LGPLv2.1"
-DEPENDS = "gstreamer gst-plugins-base python-pygobject"
+DEPENDS = "gstreamer gst-plugins-base python-pygobject python"
RDEPENDS_${PN} += "python-pygtk"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
file://python-path.patch"
@@ -2,10 +2,10 @@ DESCRIPTION = "Python GObject bindings"
SECTION = "devel/python"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-DEPENDS = "python-pygobject-native-${PV} glib-2.0"
+DEPENDS = "python python-pygobject-native-${PV} glib-2.0"
DEPENDS_virtclass-native = "glib-2.0-native"
RDEPENDS_virtclass-native = ""
-PR = "r1"
+PR = "r2"
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
If python failed to build for some reason, python-gst and python-pygobject may still try to build, add python as a dependency to avoid this. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> --- meta/recipes-devtools/python/python-gst_0.10.21.bb | 4 ++-- .../python/python-pygobject_2.27.91.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)