diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb index 7c736e76f..ec6c12f2f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb +++ b/meta-openembedded/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 +} |