cgi.py and rot_13.py have outdated shebangs. Signed-off-by: Joe Slater <joe.sla...@windriver.com> --- .../recipes-devtools/python/python3/shebang3.patch | 22 ++++++++++++++++++++++ meta/recipes-devtools/python/python3_3.8.1.bb | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/python/python3/shebang3.patch
diff --git a/meta/recipes-devtools/python/python3/shebang3.patch b/meta/recipes-devtools/python/python3/shebang3.patch new file mode 100644 index 0000000..c4fde05 --- /dev/null +++ b/meta/recipes-devtools/python/python3/shebang3.patch @@ -0,0 +1,22 @@ +python3: change two shebangs to python3 + +Upstream-Status: Inappropriate [distribution] + +Signed-off-by: Joe Slater <joe.sla...@windriver.com> + +--- a/Lib/cgi.py ++++ b/Lib/cgi.py +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#! /usr/bin/env python3 + + """Support module for CGI (Common Gateway Interface) scripts. + +--- a/Lib/encodings/rot_13.py ++++ b/Lib/encodings/rot_13.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + """ Python Character Mapping Codec for ROT13. + + This codec de/encodes from str to str. diff --git a/meta/recipes-devtools/python/python3_3.8.1.bb b/meta/recipes-devtools/python/python3_3.8.1.bb index 7796852..c1983d8 100644 --- a/meta/recipes-devtools/python/python3_3.8.1.bb +++ b/meta/recipes-devtools/python/python3_3.8.1.bb @@ -32,7 +32,9 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-configure.ac-fix-LIBPL.patch \ file://0001-python3-Do-not-hardcode-lib-for-distutils.patch \ file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \ + file://shebang3.patch \ " + SRC_URI_append_class-native = " \ file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \ -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core