inherit setuptools
require python-pycodestyle.inc

RDEPENDS_${PN} += "${PYTHON_PN}-lang"

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
}

Fix conflict error with python3-pycodestyle during do_rootfs
python-pycodestyle: Fix conflict error with python3-pycodestyle during do_rootfs

Signed-off-by: Lei Maohui <fcb7fc55436bbce4c46edd690c33f29b9507946f@cn.fujitsu.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
