]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: python-pycairo: add python-pycairo-native
authorMax Eliaser <max.eliaser@intel.com>
Tue, 29 Jul 2014 18:07:06 +0000 (11:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:21:14 +0000 (09:21 +0100)
A -native variant of python-pycairo will be necessary for running the native
version of pybootchartgui. It may also come in handy for running other Python
utilities from the native sysroot.

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/python/python-pycairo_1.10.0.bb

index 5b59b6ccc10091683014c518d848f0dfcbcf159d..70fe25c1a1c41f37918513c4c73a7208e568054b 100644 (file)
@@ -20,6 +20,8 @@ S = "${WORKDIR}/py2cairo-${PV}"
 
 inherit distutils pkgconfig
 
+BBCLASSEXTEND = "native"
+
 do_configure() {
        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ./waf configure --prefix=${D}${prefix} --libdir=${D}${libdir}
 }