diff --git a/dev-lang/python/patches/python3.13-3.13.7.patchset b/dev-lang/python/patches/python3.13-3.13.8.patchset similarity index 96% rename from dev-lang/python/patches/python3.13-3.13.7.patchset rename to dev-lang/python/patches/python3.13-3.13.8.patchset index f6ac5fbdd..2f8ef1e85 100644 --- a/dev-lang/python/patches/python3.13-3.13.7.patchset +++ b/dev-lang/python/patches/python3.13-3.13.8.patchset @@ -1,4 +1,4 @@ -From 7021a09337909e2dbc94411749aa469fe64c179f Mon Sep 17 00:00:00 2001 +From c112b0fa3dd09bc6df0ae51035872da538e58d9a Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 01:02:25 -0300 Subject: initial Haiku patch @@ -197,7 +197,7 @@ index 597a44b..92ad128 100644 2.50.1 -From c9f05c7e68a104d5771d96ad849fd992c5faa414 Mon Sep 17 00:00:00 2001 +From d1b69c62b5c73b615791fafc604f6eb65c5a2696 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 16 Apr 2017 10:05:42 +0200 Subject: fix for negative errnos @@ -217,7 +217,7 @@ index ffc3fdf..690ea26 100644 err_msg = "" # The error must be from chdir(cwd). diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c -index daec4ad..1647199 100644 +index b532631..5561466 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -841,6 +841,10 @@ error: @@ -235,7 +235,7 @@ index daec4ad..1647199 100644 2.50.1 -From 0a0f376baa0cc12a3a3fc1991839a9d2b4b026f0 Mon Sep 17 00:00:00 2001 +From b36de80dd053c93d68fe10b33cd30273bc667927 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 20:06:31 -0300 Subject: Implement CTypes's find_library for Haiku @@ -332,7 +332,7 @@ index 117bf06..6301aa2 100644 2.50.1 -From a367ee48613b40a861c9a4435d0d1c2aede0104f Mon Sep 17 00:00:00 2001 +From 393a4389ab344160842cfe1d568279b44feed6fd Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 23 Sep 2019 09:14:58 +0200 Subject: webbrowser: Support for default browsers on Haiku @@ -359,7 +359,7 @@ index 2f9555a..90bea57 100755 2.50.1 -From 2c45aa1a0ffc0fff7e3b72edf7fa0807160d933d Mon Sep 17 00:00:00 2001 +From 5f21a61060649814bd8227e5a8140d5e65058a66 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 4 Oct 2019 22:02:35 +0200 Subject: since 3.8, don't reinit locks on fork. @@ -382,7 +382,7 @@ index b95c3aa..1652f93 100644 2.50.1 -From 9b68db4fd58f779cb53bc48f19dabc33c790ffe3 Mon Sep 17 00:00:00 2001 +From d6962a7a49ac65aac56fa608125ed253e277935b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 15 May 2020 15:20:57 +0200 Subject: handle errors returned by internal_connect() @@ -415,14 +415,14 @@ index 9a7c977..5a9bcfb 100644 2.50.1 -From a332741d5511620f69c753fcb8659bff9b84dcbc Mon Sep 17 00:00:00 2001 +From 9f93397d1c0ea9beb7b89c9b1928f55464f2202b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 19 Oct 2020 18:03:09 +0200 Subject: ttyname_r can use MAXPATHLEN diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c -index f316598..88bd4f7 100644 +index b7d128b..274d960 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3318,11 +3318,14 @@ static PyObject * @@ -445,7 +445,7 @@ index f316598..88bd4f7 100644 2.50.1 -From 4c7c8cf97c9cfee3c15bf31cbd5fa4b38513c509 Mon Sep 17 00:00:00 2001 +From 89b406332794217afe96333ee874e556e8ab2b4d Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 24 Oct 2022 20:04:10 -0300 Subject: Lib/test: require the "largefile" usage flag for I/O heavy tests. @@ -482,10 +482,10 @@ index 41f7b70..e4830de 100644 'test requires %s bytes and a long time to run' % str(size)) else: diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py -index a1cf538..c04d9e3 100644 +index 7f33db5..13a1481 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py -@@ -1144,7 +1144,7 @@ class LargeMmapTests(unittest.TestCase): +@@ -1178,7 +1178,7 @@ class LargeMmapTests(unittest.TestCase): unlink(TESTFN) def _make_test_file(self, num_zeroes, tail): @@ -498,7 +498,7 @@ index a1cf538..c04d9e3 100644 2.50.1 -From 6d13e115ef19ce3c6c0845e597a5f4413e60cfd0 Mon Sep 17 00:00:00 2001 +From e2cd0445e18f939c4cff0c7047f7cc624331cdee Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 27 Jul 2024 04:51:52 -0300 Subject: _getuserbase(), getsitepackages(), and INSTALL_SCHEMES for Haiku. @@ -577,7 +577,7 @@ index aedf363..a65e8da 100644 if sys.platlibdir != "lib": libdirs.append("lib") diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py -index 510c7b9..7a17472 100644 +index f7bd675..e3699d0 100644 --- a/Lib/sysconfig/__init__.py +++ b/Lib/sysconfig/__init__.py @@ -48,6 +48,36 @@ _INSTALL_SCHEMES = { @@ -694,10 +694,10 @@ index 510c7b9..7a17472 100644 return { 'prefix': 'nt', diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py -index aca02c0..e7ff98d 100644 +index 9723300..435a4c1 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py -@@ -386,9 +386,10 @@ class TestSysConfig(unittest.TestCase): +@@ -393,9 +393,10 @@ class TestSysConfig(unittest.TestCase): self.assertTrue(os.path.isfile(config_h), config_h) def test_get_scheme_names(self): @@ -714,7 +714,7 @@ index aca02c0..e7ff98d 100644 2.50.1 -From 92e645caaf8cdad97d394e34a9d601780513c0dd Mon Sep 17 00:00:00 2001 +From dde891a48ff4ba72df736cf56d64483e106c73e2 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 12 Feb 2024 08:39:38 -0300 Subject: Fix location of REPL's history file. @@ -753,7 +753,7 @@ index a65e8da..81eff66 100644 2.50.1 -From dc8ddccd4e37626ab5c10af383b0077d27165a80 Mon Sep 17 00:00:00 2001 +From 8eda160c8f525737c39649219594f9fcf9c3527e Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 17:02:19 -0300 Subject: Use spawn instead of fork for multiprocessing. @@ -806,7 +806,7 @@ index f395e8b..c286964 100644 2.50.1 -From d9b6024b31bf23b720c25065f9d2c9afec922dd5 Mon Sep 17 00:00:00 2001 +From 811420ef95eb23e312706fbbacbef91e20e98a36 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 10 Dec 2023 19:50:22 -0300 Subject: Miscellaneous "Lib/test/" fixes for Haiku. @@ -846,7 +846,7 @@ index fdb36ed..5411a96 100644 2.50.1 -From cf622d560efe291cca474ba6a3fbefa784622a1f Mon Sep 17 00:00:00 2001 +From 89730a58f4e033dca041ee23dcd448f9ea57551a Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 12 Feb 2024 10:50:34 -0300 Subject: Fix build on nightlies, following the addition of kqueue. @@ -912,7 +912,7 @@ index 5bd9b77..88e29a4 100644 2.50.1 -From 180823416bf542d3bcc0da858ce4b3e6be630b49 Mon Sep 17 00:00:00 2001 +From c9f6b08052368afa8974b5f58c745a4fa0b6c4a8 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 14 Mar 2024 12:54:33 -0500 Subject: config.guess: Update to universal haiku arch guessing @@ -942,7 +942,7 @@ index e81d3ae..366429c 100755 2.50.1 -From 759e3e8e33a2d4a50f23f40bd89e53311204d5c7 Mon Sep 17 00:00:00 2001 +From 6fbcf6216b2f7b932be4ff742b10715e2bca73d2 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 13:38:28 -0300 Subject: fix test_utf8_mode. @@ -965,7 +965,7 @@ index f668810..a55a8e4 100644 2.50.1 -From 15a7890dbd88bea3d373216f06f795b50966712c Mon Sep 17 00:00:00 2001 +From a0a76d1699b3083caf60722391e787f57e60991f Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 14:35:04 -0300 Subject: Fix test_site. @@ -1025,10 +1025,10 @@ index 81eff66..ca16495 100644 libdirs = [sys.platlibdir] if sys.platlibdir != "lib": diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py -index 57f4f1e..841c24a 100644 +index 40b8602..806068a 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py -@@ -323,7 +323,21 @@ class HelperFunctionsTests(unittest.TestCase): +@@ -325,7 +325,21 @@ class HelperFunctionsTests(unittest.TestCase): def test_getsitepackages(self): site.PREFIXES = ['xoxo'] dirs = site.getsitepackages() @@ -1055,14 +1055,14 @@ index 57f4f1e..841c24a 100644 2.50.1 -From d3ef9834b0f2b38e2fd95d0cbe9dda9155146c2e Mon Sep 17 00:00:00 2001 +From b6e1ca7a9cb27f2b856c4e962b0d87bde77a4f06 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 15:37:13 -0300 Subject: Fix test_sysconfig. diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py -index e7ff98d..017c676 100644 +index 435a4c1..b5445e4 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -221,6 +221,19 @@ class TestSysConfig(unittest.TestCase): @@ -1085,7 +1085,7 @@ index e7ff98d..017c676 100644 else: self.assertEqual( sysconfig.get_path('scripts', scheme='venv'), -@@ -387,7 +400,7 @@ class TestSysConfig(unittest.TestCase): +@@ -394,7 +407,7 @@ class TestSysConfig(unittest.TestCase): def test_get_scheme_names(self): wanted = ['nt', 'posix_home', 'posix_prefix', 'posix_venv', 'nt_venv', 'venv', 'haiku', @@ -1098,7 +1098,7 @@ index e7ff98d..017c676 100644 2.50.1 -From ed463ad744b58568e329f2b66edbac32efcef1ab Mon Sep 17 00:00:00 2001 +From 25f0da135637a83117110d41ae1bec5bc25f438e Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 29 Sep 2024 03:01:27 -0300 Subject: Partially fix test_compileall by skipping tests that need hardlink @@ -1134,7 +1134,7 @@ index 21ecebc..632fc1c 100644 2.50.1 -From 6670f574182bad92bd106e551199c989bce39390 Mon Sep 17 00:00:00 2001 +From a2f7a2e2008adb536907a82e1ddac0280ead033c Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Thu, 9 May 2024 15:16:26 -0300 Subject: Fix 3.13.0 build. @@ -1185,7 +1185,7 @@ index 4d3fb65..be95e7d 100644 2.50.1 -From 57a8aed800d1ffbb456c8f3c6052aa7be5d4a254 Mon Sep 17 00:00:00 2001 +From 21a2fc818dbd8c6b4c139ea1ecbd5ab74b05b9c1 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 5 Oct 2024 07:32:17 -0300 Subject: Avoid forcing "-g" on LTO builds, unless Py_DEBUG is defined. diff --git a/dev-lang/python/python3.13-3.13.7.recipe b/dev-lang/python/python3.13-3.13.8.recipe similarity index 99% rename from dev-lang/python/python3.13-3.13.7.recipe rename to dev-lang/python/python3.13-3.13.8.recipe index 84e1a6d4c..25e619714 100644 --- a/dev-lang/python/python3.13-3.13.7.recipe +++ b/dev-lang/python/python3.13-3.13.8.recipe @@ -20,7 +20,7 @@ LICENSE="Python" COPYRIGHT="1990-2025 Python Software Foundation" REVISION="1" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz" -CHECKSUM_SHA256="5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a" +CHECKSUM_SHA256="b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252" SOURCE_DIR="Python-$portVersion" pyShortVer="${portVersion%.*}"