mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Ports: Update Python to 3.10.3
Released on 2022-03-16. https://www.python.org/downloads/release/python-3103/
This commit is contained in:
parent
37da5cb3b3
commit
6b8358b1f1
Notes:
sideshowbarker
2024-07-17 16:46:07 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/6b8358b1f1 Pull-request: https://github.com/SerenityOS/serenity/pull/13266
6 changed files with 17 additions and 17 deletions
|
@ -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 |
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue