diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-02-22 11:16:47 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-25 15:07:50 +0000 |
| commit | 5c5347449e304086d3ef20d4822336ab583fdd25 (patch) | |
| tree | 3f3114cd0283ecae48c53c05e2b2bc9746317d3d /meta/recipes-devtools/python/python3-smartypants | |
| parent | 2b54e80a8ae15a92c9f9a283a6a6ea5678f19df5 (diff) | |
| download | poky-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.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 | ||
