summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-smartypants
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-22 11:16:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:07:50 +0000
commit5c5347449e304086d3ef20d4822336ab583fdd25 (patch)
tree3f3114cd0283ecae48c53c05e2b2bc9746317d3d /meta/recipes-devtools/python/python3-smartypants
parent2b54e80a8ae15a92c9f9a283a6a6ea5678f19df5 (diff)
downloadpoky-5c5347449e304086d3ef20d4822336ab583fdd25.tar.gz
python3-smartypants: patch hash bang to python3
Change hash bang in smartypants and smartypants.py to be /usr/bin/env python3 [YOCTO #14638] (From OE-Core rev: ef8ccaa1dcd396dafb328cd64777d4bd6973e9e1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-smartypants')
-rw-r--r--meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
new file mode 100644
index 0000000000..aab16eaab4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
@@ -0,0 +1,47 @@
1From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com>
3Date: Sun, 20 Feb 2022 18:55:50 -0800
4Subject: [PATCH] Change hash bang to python3
5
6In setup.py, smartypants and smartypants.py set hash bang to python3.
7
8Upstream-Status: Inappropriate [oe-core specific]
9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11
12---
13 setup.py | 2 +-
14 smartypants | 2 +-
15 smartypants.py | 2 +-
16 3 files changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/setup.py b/setup.py
19index ff1ea76..96a8b73 100755
20--- a/setup.py
21+++ b/setup.py
22@@ -1,4 +1,4 @@
23-#!/usr/bin/env python
24+#!/usr/bin/env python3
25 # Copyright (C) 2013, 2014 by Yu-Jie Lin
26 # For detail license information, See COPYING
27
28diff --git a/smartypants b/smartypants
29index 189adf5..0cca568 100755
30--- a/smartypants
31+++ b/smartypants
32@@ -1,4 +1,4 @@
33-#!/usr/bin/env python
34+#!/usr/bin/env python3
35 # Copyright (c) 2013, 2014 Yu-Jie Lin
36 # Licensed under the BSD License, for detailed license information, see COPYING
37
38diff --git a/smartypants.py b/smartypants.py
39index a70575b..e53bd87 100755
40--- a/smartypants.py
41+++ b/smartypants.py
42@@ -1,4 +1,4 @@
43-#!/usr/bin/python
44+#!/usr/bin/env python3
45 # -*- coding: utf-8 -*-
46 # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin
47 # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller