[oe] [PATCH 2/3] python-pygobject: fix do_configure failed
Hongxu Jia
hongxu.jia at windriver.com
Tue Jun 21 05:39:52 UTC 2016
Fix build failure since it was moved to meta-oe
http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb
index e4eeafb..52ef425 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb
+++ b/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
inherit autotools pkgconfig gnomebase distutils-base gobject-introspection
+PYTHON_BASEVERSION = "2.7"
+PYTHON_PN = "python"
+
DEPENDS += "python glib-2.0"
SRCNAME="pygobject"
@@ -20,7 +23,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
BBCLASSEXTEND = "native"
-EXTRA_OECONF = "--disable-cairo --with-python=python2.7"
+EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}"
RDEPENDS_${PN} += "python-setuptools python-importlib"
--
2.8.1
More information about the Openembedded-devel
mailing list