summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
diff options
context:
space:
mode:
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.patch24
1 files changed, 15 insertions, 9 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
index aab16eaab4..63bd523cb7 100644
--- 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
@@ -1,4 +1,4 @@
1From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 1From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com> 2From: Tim Orling <tim.orling@konsulko.com>
3Date: Sun, 20 Feb 2022 18:55:50 -0800 3Date: Sun, 20 Feb 2022 18:55:50 -0800
4Subject: [PATCH] Change hash bang to python3 4Subject: [PATCH] Change hash bang to python3
@@ -9,6 +9,9 @@ Upstream-Status: Inappropriate [oe-core specific]
9 9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com> 10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11 11
12Update to apply on v2.0.2.
13
14Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12--- 15---
13 setup.py | 2 +- 16 setup.py | 2 +-
14 smartypants | 2 +- 17 smartypants | 2 +-
@@ -16,32 +19,35 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
16 3 files changed, 3 insertions(+), 3 deletions(-) 19 3 files changed, 3 insertions(+), 3 deletions(-)
17 20
18diff --git a/setup.py b/setup.py 21diff --git a/setup.py b/setup.py
19index ff1ea76..96a8b73 100755 22index c183fc0..e10d757 100755
20--- a/setup.py 23--- a/setup.py
21+++ b/setup.py 24+++ b/setup.py
22@@ -1,4 +1,4 @@ 25@@ -1,4 +1,4 @@
23-#!/usr/bin/env python 26-#!/usr/bin/env python
24+#!/usr/bin/env python3 27+#!/usr/bin/env python3
25 # Copyright (C) 2013, 2014 by Yu-Jie Lin 28 # Copyright (c) 2025–present Justin Mayer
26 # For detail license information, See COPYING 29 # For detail license information, See COPYING
27 30
28diff --git a/smartypants b/smartypants 31diff --git a/smartypants b/smartypants
29index 189adf5..0cca568 100755 32index 1dabf7d..20c130e 100755
30--- a/smartypants 33--- a/smartypants
31+++ b/smartypants 34+++ b/smartypants
32@@ -1,4 +1,4 @@ 35@@ -1,4 +1,4 @@
33-#!/usr/bin/env python 36-#!/usr/bin/env python
34+#!/usr/bin/env python3 37+#!/usr/bin/env python3
35 # Copyright (c) 2013, 2014 Yu-Jie Lin 38 # Copyright (c) 2025–present Justin Mayer
36 # Licensed under the BSD License, for detailed license information, see COPYING 39 # Licensed under the BSD License, for detailed license information, see COPYING
37 40
38diff --git a/smartypants.py b/smartypants.py 41diff --git a/smartypants.py b/smartypants.py
39index a70575b..e53bd87 100755 42index 62c1472..a440d14 100755
40--- a/smartypants.py 43--- a/smartypants.py
41+++ b/smartypants.py 44+++ b/smartypants.py
42@@ -1,4 +1,4 @@ 45@@ -1,4 +1,4 @@
43-#!/usr/bin/python 46-#!/usr/bin/python
44+#!/usr/bin/env python3 47+#!/usr/bin/python3
45 # -*- coding: utf-8 -*- 48 # Copyright (c) 2025–present Justin Mayer
49 # Copyright (c) 2017 Leo Hemsted
46 # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin 50 # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin
47 # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller 51--
522.49.0
53