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 14:00:51 +0100
commite5e0b30035ac4f8cc62a4c532a2ff46245ab84d0 (patch)
tree83aa145f8c79cf21c6d15a67a5e51a610e794d55 /meta/recipes-devtools/python/python-pbr.inc
parent9f7bd77be708955a7df3916c45f5c93f2c8b2318 (diff)
downloadpoky-e5e0b30035ac4f8cc62a4c532a2ff46245ab84d0.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 (From OE-Core rev: a0b6ae56970aa53f65ed10bebd90fefa410a7099) 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"
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
7 7
8SRC_URI += "file://0001-change-shebang-to-python3.patch"
9
8inherit pypi 10inherit pypi
9 11
10RDEPENDS_${PN} += "${PYTHON_PN}-pip" 12RDEPENDS_${PN} += "${PYTHON_PN}-pip"