diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch | 47 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-smartypants_2.0.0.bb | 1 |
2 files changed, 48 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 | ||
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb index ba3408247b..05c94c390f 100644 --- a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +++ b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb | |||
| @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f" | |||
| 6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
| 7 | 7 | ||
| 8 | PYPI_PACKAGE = "smartypants" | 8 | PYPI_PACKAGE = "smartypants" |
| 9 | SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" | ||
| 9 | SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" | 10 | SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" |
| 10 | 11 | ||
| 11 | BBCLASSEXTEND = "native" | 12 | BBCLASSEXTEND = "native" |
