aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pexpect.inc
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-04-24 09:13:28 +0800
committerKhem Raj <raj.khem@gmail.com>2020-04-25 08:32:42 -0700
commit652c27ebb464f4d6104dfbb610569ffd5ec1bfc1 (patch)
treefff2bd8e4e0a98bbb4036628366f6b7293f3e25e /meta-python/recipes-devtools/python/python-pexpect.inc
parentf48d31a4eb482e110b0d2f6a7694f77ac94bf71a (diff)
downloadmeta-openembedded-652c27ebb464f4d6104dfbb610569ffd5ec1bfc1.tar.gz
python3-pexpect: change shebang to python3
we have offcially dropped python2, so it is possible that our code run on python3 only host, so change shebang to python3 to avoid error like: python: command not found Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pexpect.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-pexpect.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pexpect.inc b/meta-python/recipes-devtools/python/python-pexpect.inc
index f02aa994ef..c6230b2b5d 100644
--- a/meta-python/recipes-devtools/python/python-pexpect.inc
+++ b/meta-python/recipes-devtools/python/python-pexpect.inc
@@ -4,6 +4,8 @@ SECTION = "devel/python"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
+SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
+
SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"