diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch | 47 |
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 @@ | |||
1 | From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Sun, 20 Feb 2022 18:55:50 -0800 | ||
4 | Subject: [PATCH] Change hash bang to python3 | ||
5 | |||
6 | In setup.py, smartypants and smartypants.py set hash bang to python3. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | |||
10 | Signed-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 | |||
18 | diff --git a/setup.py b/setup.py | ||
19 | index 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 | |||
28 | diff --git a/smartypants b/smartypants | ||
29 | index 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 | |||
38 | diff --git a/smartypants.py b/smartypants.py | ||
39 | index 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 | ||