[oe] [meta-python2][PATCH] python-pygobject: Drop option to select python3 support

Khem Raj raj.khem at gmail.com
Thu Jan 23 05:41:14 UTC 2020


So that accidentally its not set in downstream layers which can conflict
with python3-pygobject from meta-python

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes-devtools/python/python-pygobject_3.34.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-pygobject_3.34.0.bb b/recipes-devtools/python/python-pygobject_3.34.0.bb
index 0cbd07f..287846d 100644
--- a/recipes-devtools/python/python-pygobject_3.34.0.bb
+++ b/recipes-devtools/python/python-pygobject_3.34.0.bb
@@ -22,11 +22,12 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 UNKNOWN_CONFIGURE_WHITELIST = "introspection"
 
+EXTRA_OEMESON_append = " -Dpython=python2"
+
 PACKAGECONFIG ??= "stagedir"
 
 PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo"
 PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
-PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , "
 PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
 
 BBCLASSEXTEND = "native"
-- 
2.25.0



More information about the Openembedded-devel mailing list