summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-25 22:15:22 +0000
committerLinus Groh <mail@linusgroh.de>2022-03-25 22:27:14 +0000
commit6b8358b1f15da47698265c530d09b7587673e4cf (patch)
tree40e8de0792b4d9598d8d80f7e8c41cbcc364d684 /Ports
parent37da5cb3b35bf855795beb5251766635f01f6342 (diff)
downloadserenity-6b8358b1f15da47698265c530d09b7587673e4cf.zip
Ports: Update Python to 3.10.3
Released on 2022-03-16. https://www.python.org/downloads/release/python-3103/
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md2
-rw-r--r--Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch4
-rw-r--r--Ports/python3/patches/0002-Tweak-configure-and-configure.ac.patch8
-rw-r--r--Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch4
-rw-r--r--Ports/python3/patches/0004-Tweak-setup.py.patch10
-rw-r--r--Ports/python3/version.sh6
6 files changed, 17 insertions, 17 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 845b65bd36..1fe8f31b31 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -168,7 +168,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`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 |
| [`pv`](pv/) | Pipe Viewer | 1.6.20 | http://www.ivarch.com/programs/pv.shtml |
-| [`python3`](python3/) | Python | 3.10.2 | https://www.python.org/ |
+| [`python3`](python3/) | Python | 3.10.3 | https://www.python.org/ |
| [`qt6-qtbase`](qt6-qtbase/) | Qt6 QtBase | 6.2.2 | https://qt.io |
| [`qt6-serenity`](qt6-serenity/) | QSerenityPlatform | | https://github.com/SerenityPorts/QSerenityPlatform |
| [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake |
diff --git a/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch b/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
index 26308b5b37..d7e42d09ea 100644
--- a/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
+++ b/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
@@ -1,4 +1,4 @@
-From 9f78eb848cce77cfb7c706ceb548b5802cc2d1fb Mon Sep 17 00:00:00 2001
+From be8a31683b1874d62dc514eb214dfa268ed0a4a4 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 14 Jan 2022 23:35:20 +0330
Subject: [PATCH 1/4] Enforce UTF-8 as the locale encoding
@@ -23,5 +23,5 @@ index 6ab0ae4..dffd616 100644
// See _Py_GetLocaleEncoding(), PyUnicode_DecodeLocale()
// and PyUnicode_EncodeLocale().
--
-2.34.1
+2.35.1
diff --git a/Ports/python3/patches/0002-Tweak-configure-and-configure.ac.patch b/Ports/python3/patches/0002-Tweak-configure-and-configure.ac.patch
index 7a2afdc53a..3936b9660c 100644
--- a/Ports/python3/patches/0002-Tweak-configure-and-configure.ac.patch
+++ b/Ports/python3/patches/0002-Tweak-configure-and-configure.ac.patch
@@ -1,4 +1,4 @@
-From 90ab7a9c6b230961f5be4de7d41d34062b27eba5 Mon Sep 17 00:00:00 2001
+From 6b7f5908f2d9ca0c3b19fe377feae8f8529e8f4e Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 14 Jan 2022 23:35:57 +0330
Subject: [PATCH 2/4] Tweak configure and configure.ac
@@ -12,7 +12,7 @@ As usual, make the `configure` script recognize Serenity. Also set
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
-index a7d2975..5d0f410 100755
+index 0cc86f9..45a4ad6 100755
--- a/configure
+++ b/configure
@@ -3335,6 +3335,9 @@ then
@@ -53,7 +53,7 @@ index a7d2975..5d0f410 100755
Darwin/*)
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
diff --git a/configure.ac b/configure.ac
-index 5aa91cb..55bd7a0 100644
+index 547255f..b352890 100644
--- a/configure.ac
+++ b/configure.ac
@@ -391,6 +391,9 @@ then
@@ -94,5 +94,5 @@ index 5aa91cb..55bd7a0 100644
Darwin/*)
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
--
-2.34.1
+2.35.1
diff --git a/Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch b/Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch
index ca115e6f59..199f0431c2 100644
--- a/Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch
+++ b/Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch
@@ -1,4 +1,4 @@
-From 88b42a9eb046b60493c3723cbc0f81fde0181b0c Mon Sep 17 00:00:00 2001
+From 1805e2be29193655e29355ba9d93b78a654dcaa2 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 14 Jan 2022 23:36:28 +0330
Subject: [PATCH 3/4] Include `sys/uio.h` in `socketmodule.c`
@@ -23,5 +23,5 @@ index ab8618b..0109d97 100644
#endif
--
-2.34.1
+2.35.1
diff --git a/Ports/python3/patches/0004-Tweak-setup.py.patch b/Ports/python3/patches/0004-Tweak-setup.py.patch
index 7ea057a86e..1060be27dc 100644
--- a/Ports/python3/patches/0004-Tweak-setup.py.patch
+++ b/Ports/python3/patches/0004-Tweak-setup.py.patch
@@ -1,4 +1,4 @@
-From bd79f48415f3e3982d8d5b96cb22b2b87de4abc4 Mon Sep 17 00:00:00 2001
+From 1a5f8c57c86964bff49c0d0f61acb18b9223e7d7 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 14 Jan 2022 23:36:52 +0330
Subject: [PATCH 4/4] Tweak `setup.py`
@@ -17,10 +17,10 @@ Make some tweaks to Python's `setup.py`:
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
-index 43e807f..454be9e 100644
+index e74a275..acd7b05 100644
--- a/setup.py
+++ b/setup.py
-@@ -846,8 +846,8 @@ class PyBuildExt(build_ext):
+@@ -848,8 +848,8 @@ class PyBuildExt(build_ext):
add_dir_to_list(self.compiler.include_dirs,
sysconfig.get_config_var("INCLUDEDIR"))
@@ -31,7 +31,7 @@ index 43e807f..454be9e 100644
# lib_dirs and inc_dirs are used to search for files;
# if a file is found in one of those directories, it can
# be assumed that no additional -I,-L directives are needed.
-@@ -1158,7 +1158,12 @@ class PyBuildExt(build_ext):
+@@ -1160,7 +1160,12 @@ class PyBuildExt(build_ext):
# Curses support, requiring the System V version of curses, often
# provided by the ncurses library.
curses_defines = []
@@ -46,5 +46,5 @@ index 43e807f..454be9e 100644
if curses_library == 'ncursesw':
curses_defines.append(('HAVE_NCURSESW', '1'))
--
-2.34.1
+2.35.1
diff --git a/Ports/python3/version.sh b/Ports/python3/version.sh
index 0fb47bdf77..32010968fd 100644
--- a/Ports/python3/version.sh
+++ b/Ports/python3/version.sh
@@ -1,5 +1,5 @@
-PYTHON_VERSION="3.10.2"
-PYTHON_VERSION_WITHOUT_SUFFIX="3.10.2" # PYTHON_VERSION but without the a1/b1/rc1/... suffix
+PYTHON_VERSION="3.10.3"
+PYTHON_VERSION_WITHOUT_SUFFIX="3.10.3" # 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="17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7"
+PYTHON_ARCHIVE_SHA256SUM="596c72de998dc39205bc4f70ef0dbf7edec740a306d09b49a9bd0a77806730dc"