From: Andreas Oberritter Date: Mon, 16 Jan 2017 23:33:02 +0000 (+0100) Subject: python3-pycairo: use waf.bbclass X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92c7a0885627c5b81f2d9cb702a5b0e20803febe;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-pycairo: use waf.bbclass Fixes compilation with PARALLEL_MAKE = "-j N -l N". Signed-off-by: Andreas Oberritter --- diff --git a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb index f9031b3bcaf..4cb2fe87c98 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb @@ -17,24 +17,8 @@ SRC_URI[sha256sum] = "9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a S = "${WORKDIR}/pycairo-${PV}" -inherit distutils3 pkgconfig +inherit distutils3 pkgconfig waf BBCLASSEXTEND = "native" -do_configure() { - PYTHON=${PYTHON} ./waf configure --prefix=${D}${prefix} --libdir=${D}${libdir} -} - -do_compile() { - ./waf build ${PARALLEL_MAKE} -} - -do_install() { - ./waf install - sed \ - -e 's:@prefix@:${prefix}:' \ - -e 's:@VERSION@:${PV}:' \ - -e 's:@includedir@:${includedir}:' \ - py3cairo.pc.in > py3cairo.pc - install -m 0644 py3cairo.pc ${D}${libdir}/pkgconfig/ -} +export PYTHON