[oe-commits] [meta-openembedded] 11/43: python3-chardet: add a '3' suffix to binary to avoid conflicts with python2

git at git.openembedded.org git at git.openembedded.org
Mon Aug 13 06:24:39 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 88c8866fbc5d809987b67eda290c545e4d46c660
Author: Dima Zavin <dmitriyz at waymo.com>
AuthorDate: Sat Aug 4 17:33:34 2018 -0700

    python3-chardet: add a '3' suffix to binary to avoid conflicts with python2
    
    Signed-off-by: Dima Zavin <dmitriyz at waymo.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb | 5 +++++
 1 file changed, 5 insertions(+)

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 038043c..38d8122 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
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list