[oe] [meta-python2][PATCH 1/1] python-lxml: fix installation

Tim Orling ticotimo at gmail.com
Tue Feb 25 07:21:38 UTC 2020


I made one slight change in that I kept the "inherit" line intact, but
moved it where you had done.

Merged.

Thank you!

On Thu, Feb 20, 2020 at 9:34 AM Joe Slater <joe.slater at windriver.com> wrote:

> Inherit setuptools before adding to variables defined in it.
>
> Signed-off-by: Joe Slater <joe.slater at windriver.com>
> ---
>  recipes-devtools/python/python-lxml_4.4.2.bb | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-devtools/python/python-lxml_4.4.2.bb
> b/recipes-devtools/python/python-lxml_4.4.2.bb
> index 911ba58..0f9cdf7 100644
> --- a/recipes-devtools/python/python-lxml_4.4.2.bb
> +++ b/recipes-devtools/python/python-lxml_4.4.2.bb
> @@ -21,6 +21,11 @@ SRC_URI[sha256sum] =
> "eff69ddbf3ad86375c344339371168640951c302450c5d3e9936e98d64
>
>  DEPENDS += "libxml2 libxslt"
>
> +
> +inherit setuptools
> +
> +# add to the defaults which are set in the setuptools bbclass
> +#
>  DISTUTILS_BUILD_ARGS += " \
>                       --with-xslt-config='pkg-config libxslt' \
>                       --with-xml2-config='pkg-config libxml-2.0' \
> @@ -31,7 +36,7 @@ DISTUTILS_INSTALL_ARGS += " \
>                       --with-xml2-config='pkg-config libxml-2.0' \
>  "
>
> -inherit pypi setuptools
> +inherit pypi
>
>  # {standard input}: Assembler messages:
>  # {standard input}:1488805: Error: branch out of range
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list