Skip to contentSkip to conversation

To fix conflict error with python3-pycodestyle when do_rootfs.

PATCH New Lei Maohui 1 participant 1 message Apr 16, 2019

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 To fix conflict error with python3-pycodestyle when do_rootfs.

---
 meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb +6 -0
index 7c736e7..ec6c12f 100644
@@ -2,3 +2,9 @@ inherit setuptools
 require python-pycodestyle.inc
 
 RDEPENDS_${PN} += "${PYTHON_PN}-lang"
+
+do_install_append () {
+        if [ -f ${D}${bindir}/pycodestyle ]; then
+                mv ${D}${bindir}/pycodestyle ${D}${bindir}/pycodestyle-2
+        fi
+}
Signature · 1 line
2.7.4