mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python-pycodestyle: Fix conflict error with python3-pycodestyle during do_rootfs
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user