summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-07 19:19:55 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-07 20:24:48 +0100
commit116f1c5c560d1c7b5d1de4df02b3bce71403539f (patch)
treebd890c3d49d0706749fc5ae94975a74cba88f96d
parent4ad389d0d6ac2aa82d5e06c946815449a8ac7da0 (diff)
downloadserenity-116f1c5c560d1c7b5d1de4df02b3bce71403539f.zip
Ports: Update Python to 3.9.6
Released on 2021-06-28. https://www.python.org/downloads/release/python-396/
-rw-r--r--Ports/AvailablePorts.md2
-rw-r--r--Ports/python3/patches/define-have-sigset-t.patch4
-rw-r--r--Ports/python3/patches/define-py-force-utf8-locale.patch4
-rw-r--r--Ports/python3/patches/fix-autoconf.patch14
-rw-r--r--Ports/python3/patches/remove-setlocale-from-preconfig.patch4
-rw-r--r--Ports/python3/patches/webbrowser.patch4
-rw-r--r--Ports/python3/version.sh4
7 files changed, 18 insertions, 18 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 797917322b..c0771fc759 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -113,7 +113,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |
| [`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.5 | https://www.python.org/ |
+| [`python3`](python3/) | Python | 3.9.6 | https://www.python.org/ |
| [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake |
| [`quake2`](quake2/) | QuakeII | 0.1 | https://github.com/SerenityOS/SerenityQuakeII |
| [`r0`](r0/) | r0 (minimalistic commandline hexadecimal editor) | 0.8 | https://github.com/radareorg/r0 |
diff --git a/Ports/python3/patches/define-have-sigset-t.patch b/Ports/python3/patches/define-have-sigset-t.patch
index df82b924e9..d1b9b2dd8d 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.5/Modules/posixmodule.h 2021-02-21 20:22:43.839024851 +0100
-+++ Python-3.9.5/Modules/posixmodule.h 2021-02-21 20:28:35.823057995 +0100
+--- Python-3.9.6/Modules/posixmodule.h 2021-02-21 20:22:43.839024851 +0100
++++ Python-3.9.6/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 98871a0c2e..fc356d4149 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.5/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100
-+++ Python-3.9.5/Include/pyport.h 2021-02-21 20:29:32.457743589 +0100
+--- Python-3.9.6/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100
++++ Python-3.9.6/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/fix-autoconf.patch b/Ports/python3/patches/fix-autoconf.patch
index 1362ee3512..28d6cd7d47 100644
--- a/Ports/python3/patches/fix-autoconf.patch
+++ b/Ports/python3/patches/fix-autoconf.patch
@@ -1,5 +1,5 @@
---- Python-3.9.5/config.sub 2021-02-21 20:22:43.901024503 +0100
-+++ Python-3.9.5/config.sub 2021-02-21 20:24:35.079400552 +0100
+--- Python-3.9.6/config.sub 2021-02-21 20:22:43.901024503 +0100
++++ Python-3.9.6/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.5/configure.ac 2021-05-03 15:54:42.000000000 +0100
-+++ Python-3.9.5/configure.ac 2021-05-06 16:40:34.503092204 +0100
+--- Python-3.9.6/configure.ac 2021-05-03 15:54:42.000000000 +0100
++++ Python-3.9.6/configure.ac 2021-05-06 16:40:34.503092204 +0100
@@ -391,6 +391,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
@@ -39,8 +39,8 @@
*-*-linux*)
case "$host_cpu" in
arm*)
---- Python-3.9.5/configure 2021-05-03 15:54:42.000000000 +0100
-+++ Python-3.9.5/configure 2021-05-06 16:39:39.108339089 +0100
+--- Python-3.9.6/configure 2021-07-07 19:12:57.444219201 +0100
++++ Python-3.9.6/configure 2021-07-07 19:14:55.184825202 +0100
@@ -3295,6 +3295,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
@@ -69,7 +69,7 @@
*-*-linux*)
case "$host_cpu" in
arm*)
-@@ -9646,6 +9653,7 @@
+@@ -9649,6 +9656,7 @@
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
diff --git a/Ports/python3/patches/remove-setlocale-from-preconfig.patch b/Ports/python3/patches/remove-setlocale-from-preconfig.patch
index 36eaf264c3..5ae40aa836 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.5/Python/preconfig.c 2021-02-21 20:22:44.076023521 +0100
-+++ Python-3.9.5/Python/preconfig.c 2021-02-21 20:36:10.936698893 +0100
+--- Python-3.9.6/Python/preconfig.c 2021-02-21 20:22:44.076023521 +0100
++++ Python-3.9.6/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/webbrowser.patch b/Ports/python3/patches/webbrowser.patch
index 9e1584d5dc..7714287f81 100644
--- a/Ports/python3/patches/webbrowser.patch
+++ b/Ports/python3/patches/webbrowser.patch
@@ -1,5 +1,5 @@
---- Python-3.9.5/Lib/webbrowser.py 2021-05-03 15:54:42.000000000 +0100
-+++ Python-3.9.5/Lib/webbrowser.py 2021-05-06 14:21:34.242964786 +0100
+--- Python-3.9.6/Lib/webbrowser.py 2021-05-03 15:54:42.000000000 +0100
++++ Python-3.9.6/Lib/webbrowser.py 2021-05-06 14:21:34.242964786 +0100
@@ -574,6 +574,9 @@
if shutil.which("w3m"):
register("w3m", None, GenericBrowser("w3m"))
diff --git a/Ports/python3/version.sh b/Ports/python3/version.sh
index 12ad4a773d..50dccfd344 100644
--- a/Ports/python3/version.sh
+++ b/Ports/python3/version.sh
@@ -1,4 +1,4 @@
-PYTHON_VERSION="3.9.5"
+PYTHON_VERSION="3.9.6"
PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz"
PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_ARCHIVE}"
-PYTHON_ARCHIVE_MD5SUM="71f7ada6bec9cdbf4538adc326120cfd"
+PYTHON_ARCHIVE_MD5SUM="ecc29a7688f86e550d29dba2ee66cf80"