Skip to contentSkip to conversation

python-lxml: fix installation

PATCH In review Joe Slater 2 participants 2 messages Feb 20, 2020 – Feb 25, 2020

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 python-lxml: fix installation

Inherit setuptools before adding to variables defined in it.

---
 recipes-devtools/python/python-lxml_4.4.2.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-devtools/python/python-lxml_4.4.2.bb +6 -1
index 911ba58..0f9cdf7 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

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

Merged.

Thank you!

Quoted 43 lines · Joe Slater

Inherit setuptools before adding to variables defined in it.

---
 recipes-devtools/python/python-lxml_4.4.2.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-devtools/python/python-lxml_4.4.2.bb +0 -0
index 911ba58..0f9cdf7 100644
@@ -21,6 +21,11 @@ SRC_URI[sha256sum] =

"eff69ddbf3ad86375c344339371168640951c302450c5d3e9936e98d64

DEPENDS += "libxml2 libxslt"

recipes-devtools/python/python-lxml_4.4.2.bb +6 -2
+
+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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel