aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-06-21 01:39:52 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-06-23 15:21:25 +0200
commitc06411f617089dcabeac45efaee8ab43f9a13706 (patch)
tree671a33ea8a986781797be72d2a162012f0841b12
parent64d874f768207a8a1e27a5c6edd3abe90607af03 (diff)
downloadmeta-openembedded-contrib-c06411f617089dcabeac45efaee8ab43f9a13706.tar.gz
meta-openembedded-contrib-c06411f617089dcabeac45efaee8ab43f9a13706.tar.bz2
meta-openembedded-contrib-c06411f617089dcabeac45efaee8ab43f9a13706.zip
python-pygobject: fix do_configure failed
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@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb5
1 files changed, 4 insertions, 1 deletions
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 1c78e262a8..73fd043c98 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"