diff --git a/dev-lang/python/patches/python3.13-3.13.6.patchset b/dev-lang/python/patches/python3.13-3.13.7.patchset similarity index 96% rename from dev-lang/python/patches/python3.13-3.13.6.patchset rename to dev-lang/python/patches/python3.13-3.13.7.patchset index b266dbbfe..f6ac5fbdd 100644 --- a/dev-lang/python/patches/python3.13-3.13.6.patchset +++ b/dev-lang/python/patches/python3.13-3.13.7.patchset @@ -1,4 +1,4 @@ -From 821350d259ee988b18fff5723fbf2812b20d5291 Mon Sep 17 00:00:00 2001 +From 7021a09337909e2dbc94411749aa469fe64c179f Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 01:02:25 -0300 Subject: initial Haiku patch @@ -35,10 +35,10 @@ index a7dc970..757af76 100644 SCRIPTDIR= $(prefix)/$(PLATLIBDIR) # executable name for shebangs diff --git a/Modules/resource.c b/Modules/resource.c -index 3fe18e7..d0e1872 100644 +index d34795d..acf87df 100644 --- a/Modules/resource.c +++ b/Modules/resource.c -@@ -126,6 +126,7 @@ resource_getrusage_impl(PyObject *module, int who) +@@ -125,6 +125,7 @@ resource_getrusage_impl(PyObject *module, int who) PyFloat_FromDouble(doubletime(ru.ru_utime))); PyStructSequence_SetItem(result, 1, PyFloat_FromDouble(doubletime(ru.ru_stime))); @@ -46,7 +46,7 @@ index 3fe18e7..d0e1872 100644 PyStructSequence_SetItem(result, 2, PyLong_FromLong(ru.ru_maxrss)); PyStructSequence_SetItem(result, 3, PyLong_FromLong(ru.ru_ixrss)); PyStructSequence_SetItem(result, 4, PyLong_FromLong(ru.ru_idrss)); -@@ -140,6 +141,22 @@ resource_getrusage_impl(PyObject *module, int who) +@@ -139,6 +140,22 @@ resource_getrusage_impl(PyObject *module, int who) PyStructSequence_SetItem(result, 13, PyLong_FromLong(ru.ru_nsignals)); PyStructSequence_SetItem(result, 14, PyLong_FromLong(ru.ru_nvcsw)); PyStructSequence_SetItem(result, 15, PyLong_FromLong(ru.ru_nivcsw)); @@ -69,7 +69,7 @@ index 3fe18e7..d0e1872 100644 if (PyErr_Occurred()) { Py_DECREF(result); -@@ -387,19 +404,19 @@ resource_exec(PyObject *module) +@@ -411,19 +428,19 @@ resource_exec(PyObject *module) } /* insert constants */ @@ -93,7 +93,7 @@ index 3fe18e7..d0e1872 100644 ADD_INT(module, RLIMIT_STACK); #endif -@@ -411,31 +428,31 @@ resource_exec(PyObject *module) +@@ -435,31 +452,31 @@ resource_exec(PyObject *module) ADD_INT(module, RLIMIT_NOFILE); #endif @@ -197,7 +197,7 @@ index 597a44b..92ad128 100644 2.50.1 -From 993374d958deaf57c3db8c2b341205efad2aa593 Mon Sep 17 00:00:00 2001 +From c9f05c7e68a104d5771d96ad849fd992c5faa414 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 16 Apr 2017 10:05:42 +0200 Subject: fix for negative errnos @@ -235,7 +235,7 @@ index daec4ad..1647199 100644 2.50.1 -From d976ca4a12034baf148daf8ae778879643c61fcd Mon Sep 17 00:00:00 2001 +From 0a0f376baa0cc12a3a3fc1991839a9d2b4b026f0 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 7b695fd7729059b2aeac5bdb0c828ed811a055e3 Mon Sep 17 00:00:00 2001 +From a367ee48613b40a861c9a4435d0d1c2aede0104f 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 fdb135c261d0935d53fae729e1e5ad4734c9b03f Mon Sep 17 00:00:00 2001 +From 2c45aa1a0ffc0fff7e3b72edf7fa0807160d933d 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 f44b2e6a89e90a2def5496606b57817aea0c0729 Mon Sep 17 00:00:00 2001 +From 9b68db4fd58f779cb53bc48f19dabc33c790ffe3 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,7 +415,7 @@ index 9a7c977..5a9bcfb 100644 2.50.1 -From d0aa20fa89c7ba2b149b62a567e77c61e71321fe Mon Sep 17 00:00:00 2001 +From a332741d5511620f69c753fcb8659bff9b84dcbc 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 @@ -445,7 +445,7 @@ index f316598..88bd4f7 100644 2.50.1 -From 3102019455972cac2bf00381fe64c37724660ac9 Mon Sep 17 00:00:00 2001 +From 4c7c8cf97c9cfee3c15bf31cbd5fa4b38513c509 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. @@ -498,7 +498,7 @@ index a1cf538..c04d9e3 100644 2.50.1 -From f4533fa9effc3dbc762bbaf2b4a63794d531f535 Mon Sep 17 00:00:00 2001 +From 6d13e115ef19ce3c6c0845e597a5f4413e60cfd0 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. @@ -714,7 +714,7 @@ index aca02c0..e7ff98d 100644 2.50.1 -From 0f54339c97c3611c5da916ac1560db64459fa3ad Mon Sep 17 00:00:00 2001 +From 92e645caaf8cdad97d394e34a9d601780513c0dd 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 8378dff5fc4e9de64330e843a9ee392b5a887be1 Mon Sep 17 00:00:00 2001 +From dc8ddccd4e37626ab5c10af383b0077d27165a80 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 64090cc192f479f9ad272ba8717d8ce4017030cb Mon Sep 17 00:00:00 2001 +From d9b6024b31bf23b720c25065f9d2c9afec922dd5 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 c8c2fdb4a268a5e5d007c9cfef83094b96f0c576 Mon Sep 17 00:00:00 2001 +From cf622d560efe291cca474ba6a3fbefa784622a1f 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 cf6c882c21ac98c87792441c2afa7027a1305584 Mon Sep 17 00:00:00 2001 +From 180823416bf542d3bcc0da858ce4b3e6be630b49 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 07e998730db4482de1e888d61605ad1b3ab07b7d Mon Sep 17 00:00:00 2001 +From 759e3e8e33a2d4a50f23f40bd89e53311204d5c7 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 70de3952fe2d088c5395b1b98f06e20476d6ef10 Mon Sep 17 00:00:00 2001 +From 15a7890dbd88bea3d373216f06f795b50966712c Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 14:35:04 -0300 Subject: Fix test_site. @@ -1055,7 +1055,7 @@ index 57f4f1e..841c24a 100644 2.50.1 -From 6f5de1550eadd42b538e30c21b3beffc7831af1d Mon Sep 17 00:00:00 2001 +From d3ef9834b0f2b38e2fd95d0cbe9dda9155146c2e Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 15:37:13 -0300 Subject: Fix test_sysconfig. @@ -1098,7 +1098,7 @@ index e7ff98d..017c676 100644 2.50.1 -From 2b8938ad7354d7c1e4013e3af17aa2140cbc9c92 Mon Sep 17 00:00:00 2001 +From ed463ad744b58568e329f2b66edbac32efcef1ab 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 5a35d983096d428fabea3562b1b9a109ab553bc1 Mon Sep 17 00:00:00 2001 +From 6670f574182bad92bd106e551199c989bce39390 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 725d97b9d10bea407ab69f0e0ed21447ac155a70 Mon Sep 17 00:00:00 2001 +From 57a8aed800d1ffbb456c8f3c6052aa7be5d4a254 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.6.recipe b/dev-lang/python/python3.13-3.13.7.recipe similarity index 99% rename from dev-lang/python/python3.13-3.13.6.recipe rename to dev-lang/python/python3.13-3.13.7.recipe index 63b5c384a..84e1a6d4c 100644 --- a/dev-lang/python/python3.13-3.13.6.recipe +++ b/dev-lang/python/python3.13-3.13.7.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="17ba5508819d8736a14fbfc47d36e184946a877851b2e9c4b6c43acb44a3b104" +CHECKSUM_SHA256="5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a" SOURCE_DIR="Python-$portVersion" pyShortVer="${portVersion%.*}"