python3-chardet: add a '3' suffix to binary to avoid conflicts with python2

Signed-off-by: Dima Zavin <dmitriyz@waymo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Dima Zavin
2018-08-04 17:33:34 -07:00
committed by Khem Raj
parent 83c609bb84
commit 88c8866fbc

View File

@@ -1,2 +1,7 @@
inherit setuptools3
require python-chardet.inc
do_install_append () {
# rename scripts that would conflict with the Python 2 build of chardet
mv ${D}${bindir}/chardetect ${D}${bindir}/chardetect3
}