[oe-commits] [meta-openembedded] 12/21: python-pygobject: fix do_configure failed

git at git.openembedded.org git at git.openembedded.org
Thu Jun 23 13:21:50 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit c06411f617089dcabeac45efaee8ab43f9a13706
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Tue Jun 21 01:39:52 2016 -0400

    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 at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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 1c78e26..73fd043 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list