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

Burton, Ross ross.burton at intel.com
Tue Mar 8 15:26:48 UTC 2016


On 26 February 2016 at 01:45, Hongxu Jia <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.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160308/527ebe3a/attachment-0002.html>


More information about the Openembedded-core mailing list