summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pbr.inc
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-04-24 09:09:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-26 13:58:59 +0100
commita0b6ae56970aa53f65ed10bebd90fefa410a7099 (patch)
treeda3557ce22fa831700fcf939c68973ef8ff1a84f /meta/recipes-devtools/python/python-pbr.inc
parent7d32417b4dd7788d44ae896e75827f7bf56d328c (diff)
downloadopenembedded-core-contrib-a0b6ae56970aa53f65ed10bebd90fefa410a7099.tar.gz
python3-pbr: 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: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pbr.inc')
-rw-r--r--meta/recipes-devtools/python/python-pbr.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
index 0e64501c32..ce3c224d51 100644
--- a/meta/recipes-devtools/python/python-pbr.inc
+++ b/meta/recipes-devtools/python/python-pbr.inc
@@ -5,6 +5,8 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+SRC_URI += "file://0001-change-shebang-to-python3.patch"
+
inherit pypi
RDEPENDS_${PN} += "${PYTHON_PN}-pip"