summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2017-08-21 02:00:37 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-28 11:06:02 +0200
commit24d91883bb2df002a8b5a9954811237b5abb7e3f (patch)
tree43c41dc55f02e5d3e1eb181a58bce4944ee296ad /meta-python/recipes-extended
parent8d8a5e6be8deb963adcd3e7c3aa10ebc68d23a86 (diff)
downloadmeta-openembedded-24d91883bb2df002a8b5a9954811237b5abb7e3f.tar.gz
python3-pykickstart: tweak shebang to python3
Fix the following file-rdeps QA issue: ... |ERROR: python3-pykickstart-2.35-r0 do_package_qa: QA Issue: /usr/bin/ksvalidator contained in package python3-pykickstart requires /usr/bin/python, but no providers found in RDEPENDS_python3-pykickstart? [file-rdeps] ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended')
-rw-r--r--meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch25
-rw-r--r--meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
new file mode 100644
index 000000000..3d614955b
--- /dev/null
+++ b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
@@ -0,0 +1,25 @@
1From 8a1f598223bd4cbcc877eb2aba3f5586c75c9d14 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 21 Aug 2017 10:05:06 +0800
4Subject: [PATCH] tweak shebang to python3
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 tools/ksvalidator.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/tools/ksvalidator.py b/tools/ksvalidator.py
14index d6051d5..c3682e8 100755
15--- a/tools/ksvalidator.py
16+++ b/tools/ksvalidator.py
17@@ -1,4 +1,4 @@
18-#!/usr/bin/python
19+#!/usr/bin/python3
20 #
21 # Chris Lumens <clumens@redhat.com>
22 #
23--
241.8.3.1
25
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
index fd5513f5c..7fe603b55 100644
--- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
@@ -17,6 +17,7 @@ SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=py
17 file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \ 17 file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \
18 file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \ 18 file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
19 file://0004-load.py-retry-to-invoke-request-with-timeout.patch \ 19 file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
20 file://0005-tweak-shebang-to-python3.patch \
20 " 21 "
21SRCREV = "b2787a818540e678c2f9c5dca0c6bbd65b8b55e5" 22SRCREV = "b2787a818540e678c2f9c5dca0c6bbd65b8b55e5"
22 23