diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 2444e12667..4241e542f8 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -60,7 +60,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`pkgconf`](pkgconf/) | pkgconf | 1.7.3 | https://github.com/pkgconf/pkgconf | | [`printf`](printf/) | printf (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy | | [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.28 | https://github.com/8bitbubsy/pt2-clone | -| [`python3`](python3/) | Python | 3.9.1 | https://www.python.org/ | +| [`python3`](python3/) | Python | 3.9.2 | https://www.python.org/ | | [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake | | [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ | | [`SDL2`](SDL2/) | Simple DirectMedia Layer (SDL2) | | https://github.com/SerenityOS/SDL | diff --git a/Ports/python3/patches/define-have-sigset-t.patch b/Ports/python3/patches/define-have-sigset-t.patch index b7447ccae7..88f07cb841 100644 --- a/Ports/python3/patches/define-have-sigset-t.patch +++ b/Ports/python3/patches/define-have-sigset-t.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Modules/posixmodule.h 2021-01-17 20:56:14.590000000 +0100 -+++ Python-3.9.1/Modules/posixmodule.h 2021-01-17 20:56:34.207894812 +0100 +--- Python-3.9.2/Modules/posixmodule.h 2021-02-21 20:22:43.839024851 +0100 ++++ Python-3.9.2/Modules/posixmodule.h 2021-02-21 20:28:35.823057995 +0100 @@ -19,7 +19,8 @@ #endif /* MS_WINDOWS */ diff --git a/Ports/python3/patches/define-py-force-utf8-locale.patch b/Ports/python3/patches/define-py-force-utf8-locale.patch index d8e6ea1b4b..ca6f870382 100644 --- a/Ports/python3/patches/define-py-force-utf8-locale.patch +++ b/Ports/python3/patches/define-py-force-utf8-locale.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Include/pyport.h 2021-01-17 20:45:44.417000000 +0100 -+++ Python-3.9.1/Include/pyport.h 2021-01-17 20:46:07.865663659 +0100 +--- Python-3.9.2/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100 ++++ Python-3.9.2/Include/pyport.h 2021-02-21 20:29:32.457743589 +0100 @@ -838,7 +838,7 @@ # error "Py_TRACE_REFS ABI is not compatible with release and debug ABI" #endif diff --git a/Ports/python3/patches/disable-setrlimit.patch b/Ports/python3/patches/disable-setrlimit.patch index 621dba6e74..c7f0c97d50 100644 --- a/Ports/python3/patches/disable-setrlimit.patch +++ b/Ports/python3/patches/disable-setrlimit.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Modules/faulthandler.c 2021-01-17 20:45:32.878000000 +0100 -+++ Python-3.9.1/Modules/faulthandler.c 2021-01-17 20:45:33.006210297 +0100 +--- Python-3.9.2/Modules/faulthandler.c 2021-02-21 20:22:43.884024598 +0100 ++++ Python-3.9.2/Modules/faulthandler.c 2021-02-21 20:34:33.279189754 +0100 @@ -993,7 +993,7 @@ SetErrorMode(mode | SEM_NOGPFAULTERRORBOX); #endif diff --git a/Ports/python3/patches/fix-autoconf.patch b/Ports/python3/patches/fix-autoconf.patch index e25173313c..d394e2c7bc 100644 --- a/Ports/python3/patches/fix-autoconf.patch +++ b/Ports/python3/patches/fix-autoconf.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/config.sub 2021-01-17 20:15:56.796000000 +0100 -+++ Python-3.9.1/config.sub 2021-01-17 20:21:04.324828217 +0100 +--- Python-3.9.2/config.sub 2021-02-21 20:22:43.901024503 +0100 ++++ Python-3.9.2/config.sub 2021-02-21 20:24:35.079400552 +0100 @@ -1485,6 +1485,8 @@ -oss*) os=-sysv3 @@ -9,8 +9,8 @@ -svr4*) os=-sysv4 ;; ---- Python-3.9.1/configure.ac 2021-01-17 20:33:50.524295313 +0100 -+++ Python-3.9.1/configure.ac 2021-01-17 20:34:24.631127320 +0100 +--- Python-3.9.2/configure.ac 2021-02-21 20:22:43.900024509 +0100 ++++ Python-3.9.2/configure.ac 2021-02-21 20:24:35.084400524 +0100 @@ -382,6 +382,9 @@ # a lot of different things including 'define_xopen_source' # in the case statement below. @@ -31,8 +31,8 @@ *-*-linux*) case "$host_cpu" in arm*) ---- Python-3.9.1/configure 2021-01-17 20:35:39.813757019 +0100 -+++ Python-3.9.1/configure 2021-01-17 20:36:00.538654942 +0100 +--- Python-3.9.2/configure 2021-02-21 20:22:43.898024520 +0100 ++++ Python-3.9.2/configure 2021-02-21 20:24:35.096400457 +0100 @@ -3292,6 +3292,9 @@ # a lot of different things including 'define_xopen_source' # in the case statement below. diff --git a/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch b/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch index 4353a2bf97..3074879559 100644 --- a/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch +++ b/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Programs/python.c 2021-01-18 08:25:32.203494270 +0100 -+++ Python-3.9.1/Programs/python.c 2021-01-18 08:25:49.711418585 +0100 +--- Python-3.9.2/Programs/python.c 2021-02-21 20:22:43.960024172 +0100 ++++ Python-3.9.2/Programs/python.c 2021-02-21 20:35:13.268988119 +0100 @@ -9,7 +9,7 @@ return Py_Main(argc, argv); } @@ -9,8 +9,8 @@ main(int argc, char **argv) { return Py_BytesMain(argc, argv); ---- Python-3.9.1/Programs/_testembed.c 2021-01-18 08:22:35.085000000 +0100 -+++ Python-3.9.1/Programs/_testembed.c 2021-01-18 08:23:16.036082910 +0100 +--- Python-3.9.2/Programs/_testembed.c 2021-02-21 20:22:43.959024178 +0100 ++++ Python-3.9.2/Programs/_testembed.c 2021-02-21 20:35:13.270988109 +0100 @@ -1711,7 +1711,7 @@ {NULL, NULL} }; diff --git a/Ports/python3/patches/remove-setlocale-from-preconfig.patch b/Ports/python3/patches/remove-setlocale-from-preconfig.patch index f3824c556f..431f8c4820 100644 --- a/Ports/python3/patches/remove-setlocale-from-preconfig.patch +++ b/Ports/python3/patches/remove-setlocale-from-preconfig.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Python/preconfig.c 2021-01-17 21:03:08.698000000 +0100 -+++ Python-3.9.1/Python/preconfig.c 2021-01-17 21:03:47.828031544 +0100 +--- Python-3.9.2/Python/preconfig.c 2021-02-21 20:22:44.076023521 +0100 ++++ Python-3.9.2/Python/preconfig.c 2021-02-21 20:36:10.936698893 +0100 @@ -790,16 +790,6 @@ preconfig_get_global_vars(config); diff --git a/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch b/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch index 6b262d07d5..9d56519271 100644 --- a/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch +++ b/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Python/getversion.c 2021-01-18 08:31:52.780000000 +0100 -+++ Python-3.9.1/Python/getversion.c 2021-01-18 08:32:14.176848948 +0100 +--- Python-3.9.2/Python/getversion.c 2021-02-21 20:22:44.092438528 +0100 ++++ Python-3.9.2/Python/getversion.c 2021-02-21 20:36:51.249477963 +0100 @@ -9,7 +9,7 @@ Py_GetVersion(void) { @@ -9,8 +9,8 @@ PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler()); return version; } ---- Python-3.9.1/Modules/getbuildinfo.c 2021-01-18 08:54:23.766207240 +0100 -+++ Python-3.9.1/Modules/getbuildinfo.c 2021-01-18 08:54:09.757000000 +0100 +--- Python-3.9.2/Modules/getbuildinfo.c 2021-02-21 20:22:43.945286288 +0100 ++++ Python-3.9.2/Modules/getbuildinfo.c 2021-02-21 20:38:09.187987432 +0100 @@ -43,7 +43,7 @@ if (!(*gitid)) gitid = "default"; diff --git a/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch b/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch index dbcc54e664..e7f60b1a25 100644 --- a/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch +++ b/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch @@ -1,5 +1,5 @@ ---- Python-3.9.1/Python/pystate.c 2021-01-18 18:33:06.021000000 +0100 -+++ Python-3.9.1/Python/pystate.c 2021-01-18 18:33:50.274359610 +0100 +--- Python-3.9.2/Python/pystate.c 2021-02-21 20:22:44.083023482 +0100 ++++ Python-3.9.2/Python/pystate.c 2021-02-21 20:30:13.907513469 +0100 @@ -223,7 +223,7 @@ interp->eval_frame = _PyEval_EvalFrameDefault; diff --git a/Ports/python3/version.sh b/Ports/python3/version.sh index 1033aa053d..ea91a1348f 100644 --- a/Ports/python3/version.sh +++ b/Ports/python3/version.sh @@ -1,4 +1,4 @@ -PYTHON_VERSION="3.9.1" +PYTHON_VERSION="3.9.2" PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz" PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_ARCHIVE}" -PYTHON_ARCHIVE_MD5SUM="61981498e75ac8f00adcb908281fadb6" +PYTHON_ARCHIVE_MD5SUM="f0dc9000312abeb16de4eccce9a870ab"