Signed-off-by: Lei Maohui <leimao...@cn.fujitsu.com> --- meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)
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 7c736e7..ec6c12f 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 +} -- 2.7.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel