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

Joe Slater joe.slater at windriver.com
Thu Feb 20 17:34:31 UTC 2020


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



More information about the Openembedded-devel mailing list