Skip to contentSkip to conversation

python3-sqlparse: change shebang to python3

PATCH New [email protected] 1 participant 1 message Mar 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-sqlparse: change shebang to python3

From: Changqing Li <[email protected]>

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

---
 .../recipes-devtools/python/python-sqlparse.inc    |  2 +
 .../0001-sqlparse-change-shebang-to-python3.patch  | 51 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
meta-python/recipes-devtools/python/python-sqlparse.inc +2 -0
index f71f815..14e683d 100644
@@ -4,6 +4,8 @@ SECTION = "devel/python"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
 
+SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch"
+
 SRC_URI[md5sum] = "2ce34181d6b7b234c9f3c0ecd1ffb93e"
 SRC_URI[sha256sum] = "7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873"
 
meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.7.4