summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-04 21:01:16 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-04 21:46:25 +0100
commitfb98e12f866006a9e98dfa00ec68e1528f0a9c14 (patch)
tree203fd9011e3b14ddee21b2271b4bf5c85f5eb6da /Ports
parente5938e66f3e5fd4e91453cead3f89ecf1040400c (diff)
downloadserenity-fb98e12f866006a9e98dfa00ec68e1528f0a9c14.zip
Ports: Update Python to 3.10.0
Released on 2021-10-04. https://www.python.org/downloads/release/python-3100/
Diffstat (limited to 'Ports')
-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.patch12
-rw-r--r--Ports/python3/patches/include-sys-uio.patch6
-rw-r--r--Ports/python3/patches/tweak-setup-py.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 b16db59d8c..38f56011bf 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -132,7 +132,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.10.0rc2 | https://www.python.org/ |
+| [`python3`](python3/) | Python | 3.10.0 | 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 70c7b98318..63786569d6 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.10.0rc2/Modules/posixmodule.h 2021-08-03 19:01:36.368000000 +0100
-+++ Python-3.10.0rc2/Modules/posixmodule.h 2021-08-03 19:01:54.120205211 +0100
+--- Python-3.10.0/Modules/posixmodule.h 2021-08-03 19:01:36.368000000 +0100
++++ Python-3.10.0/Modules/posixmodule.h 2021-08-03 19:01:54.120205211 +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 6f1d91a5ef..9d3c3604fb 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.10.0rc2/Include/pyport.h 2021-08-03 18:40:05.313000000 +0100
-+++ Python-3.10.0rc2/Include/pyport.h 2021-08-03 18:40:28.722351782 +0100
+--- Python-3.10.0/Include/pyport.h 2021-08-03 18:40:05.313000000 +0100
++++ Python-3.10.0/Include/pyport.h 2021-08-03 18:40:28.722351782 +0100
@@ -843,7 +843,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 21e21ca4f2..a34db49389 100644
--- a/Ports/python3/patches/fix-autoconf.patch
+++ b/Ports/python3/patches/fix-autoconf.patch
@@ -1,5 +1,5 @@
---- Python-3.10.0rc2/config.sub 2021-08-03 19:03:07.361000000 +0100
-+++ Python-3.10.0rc2/config.sub 2021-08-03 19:04:06.425786525 +0100
+--- Python-3.10.0/config.sub 2021-08-03 19:03:07.361000000 +0100
++++ Python-3.10.0/config.sub 2021-08-03 19:04:06.425786525 +0100
@@ -1485,6 +1485,8 @@
-oss*)
os=-sysv3
@@ -9,8 +9,8 @@
-svr4*)
os=-sysv4
;;
---- Python-3.10.0rc2/configure.ac 2021-08-03 19:04:59.784000000 +0100
-+++ Python-3.10.0rc2/configure.ac 2021-08-03 19:08:42.069896469 +0100
+--- Python-3.10.0/configure.ac 2021-08-03 19:04:59.784000000 +0100
++++ Python-3.10.0/configure.ac 2021-08-03 19:08:42.069896469 +0100
@@ -391,6 +391,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
@@ -48,8 +48,8 @@
# -u libsys_s pulls in all symbols in libsys
Darwin/*)
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
---- Python-3.10.0rc2/configure 2021-09-07 15:18:28.000000000 +0200
-+++ Python-3.10.0rc2/configure 2021-09-18 17:01:57.104963183 +0200
+--- Python-3.10.0/configure 2021-09-07 15:18:28.000000000 +0200
++++ Python-3.10.0/configure 2021-09-18 17:01:57.104963183 +0200
@@ -3325,6 +3325,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
diff --git a/Ports/python3/patches/include-sys-uio.patch b/Ports/python3/patches/include-sys-uio.patch
index d7a724764b..7a2d8e0c2a 100644
--- a/Ports/python3/patches/include-sys-uio.patch
+++ b/Ports/python3/patches/include-sys-uio.patch
@@ -1,6 +1,6 @@
---- Python-3.10.0rc2/Modules/socketmodule.c 2021-09-09 01:14:41.120232921 +0800
-+++ Python-3.10.0rc2/Modules/socketmodule.c 2021-08-03 03:53:59.000000000 +0800
-@@ -171,7 +171,7 @@
+--- Python-3.10.0/Modules/socketmodule.c 2021-09-09 01:14:41.120232921 +0800
++++ Python-3.10.0/Modules/socketmodule.c 2021-08-03 03:53:59.000000000 +0800
+@@ -168,7 +168,7 @@
# undef HAVE_GETHOSTBYNAME_R_6_ARG
#endif
diff --git a/Ports/python3/patches/tweak-setup-py.patch b/Ports/python3/patches/tweak-setup-py.patch
index af1673f044..c39c768efc 100644
--- a/Ports/python3/patches/tweak-setup-py.patch
+++ b/Ports/python3/patches/tweak-setup-py.patch
@@ -1,5 +1,5 @@
---- Python-3.10.0rc2/setup.py 2021-09-18 16:58:59.857000000 +0200
-+++ Python-3.10.0rc2/setup.py 2021-09-18 16:59:10.448465217 +0200
+--- Python-3.10.0/setup.py 2021-09-18 16:58:59.857000000 +0200
++++ Python-3.10.0/setup.py 2021-09-18 16:59:10.448465217 +0200
@@ -832,8 +832,8 @@
add_dir_to_list(self.compiler.include_dirs,
sysconfig.get_config_var("INCLUDEDIR"))
diff --git a/Ports/python3/version.sh b/Ports/python3/version.sh
index 45750c71ff..5a6af26cf3 100644
--- a/Ports/python3/version.sh
+++ b/Ports/python3/version.sh
@@ -1,5 +1,5 @@
-PYTHON_VERSION="3.10.0rc2"
+PYTHON_VERSION="3.10.0"
PYTHON_VERSION_WITHOUT_SUFFIX="3.10.0" # PYTHON_VERSION but without the a1/b1/rc1/... suffix
PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz"
PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION_WITHOUT_SUFFIX}/${PYTHON_ARCHIVE}"
-PYTHON_ARCHIVE_SHA256SUM="e75b56088548b7b9ad1f2571e6f5a2315e4808cb6b5fbe8288502afc802b2f24"
+PYTHON_ARCHIVE_SHA256SUM="5a99f8e7a6a11a7b98b4e75e0d1303d3832cada5534068f69c7b6222a7b1b002"