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

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Mar 8 15:27:14 UTC 2016


On 03/08/2016 05:24 PM, Burton, Ross wrote:

>     +do_install_append_class-target() {
>     +       sed -i -e "s:${PYTHON}:\`which python\`:g" \
>     +           ${D}${bindir}/pygobject-codegen-2.0
>     +}
>
>
> If you're going to expect the shell to find the right python on the
> target there's no need to use `which python` as exec will search $PATH.
> However, we do know where Python on the target it: ${bindir}/python.

pygobject 3.x (which replaces 2.x as a part of introspection series) 
does not contain this script anymore, so the patch is moot anyway.

Alex




More information about the Openembedded-core mailing list