[OE-core] [PATCH 15/15] python-pycairo: fix buildpath QA issue

Hongxu Jia hongxu.jia at windriver.com
Wed Mar 9 01:05:52 UTC 2016


On 03/08/2016 11:26 PM, Burton, Ross wrote:
>
> On 26 February 2016 at 01:45, Hongxu Jia <hongxu.jia at windriver.com 
> <mailto:hongxu.jia at windriver.com>> wrote:
>
>     +do_unpack[postfuncs] += "unpack_waf"
>     +do_unpack[vardeps] += "unpack_waf"
>     +unpack_waf() {
>     +       # Just self extract tarball embedded in waf, do not care
>     help message.
>     +       # Do not generate bytecode, becuase we need to patch
>     python file later
>     +       PYTHONDONTWRITEBYTECODE=True ./waf --help >/dev/null
>     +}
>
>
> Presumably this isn't pycairo-specific but impacts every recipe using waf?
>
>      do_configure() {
>     -       BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ./waf
>     configure --prefix=${D}${prefix} --libdir=${D}${libdir}
>     +       BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ./waf
>     configure --prefix=${prefix} --libdir=${libdir}
>      }
>
>
> Looks like this recipe needs to use the waf class for a start.
>

OK, I will try to merge these to waf.bbclass. V2 Incoming

//Hongxu

> Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160309/ffcfedea/attachment-0002.html>


More information about the Openembedded-core mailing list