From 88c8866fbc5d809987b67eda290c545e4d46c660 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Sat, 4 Aug 2018 17:33:34 -0700 Subject: python3-chardet: add a '3' suffix to binary to avoid conflicts with python2 Signed-off-by: Dima Zavin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb b/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb index 038043c568..38d8122ce9 100644 --- a/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb @@ -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 +} -- cgit 1.2.3-korg