From 13223cc7007981c5169e9a54402600de177ea131 Mon Sep 17 00:00:00 2001 From: leimaohui Date: Tue, 16 Apr 2019 15:42:24 +0800 Subject: python-pycodestyle: Fix conflict error with python3-pycodestyle during do_rootfs Signed-off-by: Lei Maohui Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb b/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb index 7c736e76f8..ec6c12f2f1 100644 --- a/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb +++ b/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb @@ -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 +} -- cgit 1.2.3-korg