diff --git a/dev-lang/python/patches/python3.12-3.12.8.patchset b/dev-lang/python/patches/python3.12-3.12.9.patchset similarity index 96% rename from dev-lang/python/patches/python3.12-3.12.8.patchset rename to dev-lang/python/patches/python3.12-3.12.9.patchset index 0c4e571e4..d7fbad702 100644 --- a/dev-lang/python/patches/python3.12-3.12.8.patchset +++ b/dev-lang/python/patches/python3.12-3.12.9.patchset @@ -1,4 +1,4 @@ -From f6517bef41cca90c6c2fdb74f67da396728adfbb Mon Sep 17 00:00:00 2001 +From ced60ec5539b7f2c9da08140ab83bcabc8acee1c Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 01:02:25 -0300 Subject: initial Haiku patch @@ -32,7 +32,7 @@ index 0000000..4372ee2 +set -v +eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" $HEADERS/posix/netinet/in.h diff --git a/Makefile.pre.in b/Makefile.pre.in -index 083f4c7..3a593fa 100644 +index 689f33d..fb2195b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -147,7 +147,7 @@ BINDIR= @bindir@ @@ -184,7 +184,7 @@ index 13f1115..45f477c 100644 else PyErr_SetString(PyExc_KeyError, "getspnam(): name not found"); diff --git a/configure.ac b/configure.ac -index 9270b5f..c2eb10c 100644 +index 1a02d19..63a3bd3 100644 --- a/configure.ac +++ b/configure.ac @@ -1527,6 +1527,16 @@ if test $enable_shared = "yes"; then @@ -212,7 +212,7 @@ index 9270b5f..c2eb10c 100644 CYGWIN*) LN="ln -s";; *) LN=ln;; esac -@@ -3444,7 +3455,7 @@ then +@@ -3465,7 +3476,7 @@ then else CCSHARED="+z"; fi;; Linux-android*) ;; @@ -221,7 +221,7 @@ index 9270b5f..c2eb10c 100644 Emscripten*|WASI*) AS_VAR_IF([enable_wasm_dynamic_linking], [yes], [ CCSHARED="-fPIC" -@@ -3477,7 +3488,7 @@ then +@@ -3498,7 +3509,7 @@ then LINKFORSHARED="-Wl,-E -Wl,+s";; # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";; Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";; @@ -230,7 +230,7 @@ index 9270b5f..c2eb10c 100644 # -u libsys_s pulls in all symbols in libsys Darwin/*) LINKFORSHARED="$extra_undefs -framework CoreFoundation" -@@ -5627,6 +5638,7 @@ AC_CHECK_FUNC([__fpu_control], +@@ -5648,6 +5659,7 @@ AC_CHECK_FUNC([__fpu_control], AC_SUBST([LIBM]) case $ac_sys_system in Darwin) ;; @@ -242,17 +242,17 @@ index 9270b5f..c2eb10c 100644 2.45.2 -From 0f8bf2f16dab6e74ceb251260093038e93450684 Mon Sep 17 00:00:00 2001 +From 5a4db8cc635464695177f95df45557fb08c8b8fe Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 16 Apr 2017 10:05:42 +0200 Subject: fix for negative errnos diff --git a/Lib/subprocess.py b/Lib/subprocess.py -index 1d17ae3..4461393 100644 +index 3ec39ca..6ae03cd 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py -@@ -1940,6 +1940,8 @@ class Popen: +@@ -1948,6 +1948,8 @@ class Popen: SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) @@ -280,7 +280,7 @@ index 35ea2ac..ccc25ed 100644 2.45.2 -From 3d4f7f813b91997ccd5ff08f3a46429cbb8ff15f Mon Sep 17 00:00:00 2001 +From 110187fb1fa288006bd2f83a9bf55796fc582038 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 @@ -377,7 +377,7 @@ index c550883..6b23423 100644 2.45.2 -From 734766570e7aa7ca4b75a2e90ed819efdf66a07b Mon Sep 17 00:00:00 2001 +From 3451f6920a611b5af13fefed644b05b708a82a0e 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 @@ -404,7 +404,7 @@ index 13b9e85..7d81178 100755 2.45.2 -From ec070fbf0a123cab26e0195ee8d4021808942fc3 Mon Sep 17 00:00:00 2001 +From c8f5fd71384b15cd2a88c824de4b8a809c349a28 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. @@ -427,7 +427,7 @@ index 22d3198..f369a88 100644 2.45.2 -From 94814beb78f3d6d1ae8295f1cf53a7ef85f63672 Mon Sep 17 00:00:00 2001 +From f47a1e3fd1963f75b48439573d0860a35bc8e80b 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() @@ -460,17 +460,17 @@ index 7f2ebba..47e56d1 100644 2.45.2 -From 3115dbf2211aa70c51bb987f6915090b43e856d7 Mon Sep 17 00:00:00 2001 +From b122dd23f732a49fa4fa1c5d1d088693933f1a97 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 d529851..3ff4526 100644 +index c21c6f0..51421e1 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c -@@ -3250,11 +3250,14 @@ static PyObject * +@@ -3253,11 +3253,14 @@ static PyObject * os_ttyname_impl(PyObject *module, int fd) /*[clinic end generated code: output=c424d2e9d1cd636a input=9ff5a58b08115c55]*/ { @@ -490,7 +490,7 @@ index d529851..3ff4526 100644 2.45.2 -From a3be2555ff00d32c26af0e218805a905d99768e9 Mon Sep 17 00:00:00 2001 +From 2ea7ad4feb7d3a2bb940b102cf1bb457e6859a2d 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. @@ -543,7 +543,7 @@ index 1867e8c..e4fab02 100644 2.45.2 -From 54f12d1ed2e8ef9c47de9e749d5190bb7d8cb684 Mon Sep 17 00:00:00 2001 +From d2240d3f6402cc0982184a306780c8345de084cb Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 26 Jul 2024 19:18:56 -0300 Subject: _getuserbase(), getsitepackages(), and INSTALL_SCHEMES for Haiku. @@ -622,7 +622,7 @@ index aed254a..d3612a0 100644 if sys.platlibdir != "lib": libdirs.append("lib") diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py -index 517b13a..8828933 100644 +index 7dd63b9..e608b5e 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -47,6 +47,36 @@ _INSTALL_SCHEMES = { @@ -759,7 +759,7 @@ index 3468d0c..35bea57 100644 2.45.2 -From 4e921356e76177f4d88b827c91e654cf1e4b0f64 Mon Sep 17 00:00:00 2001 +From 5e9a20c305c91090979f5d1bfe5a0717e163ca75 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 26 Jul 2024 19:01:05 -0300 Subject: Fix location of REPL's history file. @@ -796,7 +796,7 @@ index d3612a0..3a714a0 100644 2.45.2 -From 6b29a196969f2beadd77e0de9fbdad69f6f97737 Mon Sep 17 00:00:00 2001 +From 2ab0f0054255bf3b7060184e4cecba14ac6448d3 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. @@ -849,7 +849,7 @@ index de8a264..02a301e 100644 2.45.2 -From 8ee1fa0e1b9989a91e194364ee5b7b2a3556f255 Mon Sep 17 00:00:00 2001 +From 206c6c3cc6371c5f526ea29e5fdccfdb7ef282c8 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. @@ -889,7 +889,7 @@ index ebfcffd..0517b87 100644 2.45.2 -From 9262674ee3b170aa945757ccff700e1e05ea78e0 Mon Sep 17 00:00:00 2001 +From d16a22d00038e54c32a4358a7febfca32ba93528 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 10 Feb 2024 06:01:25 -0300 Subject: Fix build on nightlies, following the addition of kqueue. @@ -955,7 +955,7 @@ index 50788e5..82fd9d9 100644 2.45.2 -From a281ee443cfe3b1ccff7a6a8f504c50c9e54de1f Mon Sep 17 00:00:00 2001 +From e188d6f612aa90014e3eb4dc2591797b694f3775 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 @@ -985,7 +985,7 @@ index e81d3ae..366429c 100755 2.45.2 -From 67415488bb6276cf3e30b4b6d492178fa3113274 Mon Sep 17 00:00:00 2001 +From 62187db712b992fd67fefd1bfe5a4ee974f26af6 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 13:38:28 -0300 Subject: fix test_utf8_mode. @@ -1008,7 +1008,7 @@ index f668810..a55a8e4 100644 2.45.2 -From 8122e3c9be99c395c52834f331e9594eec6ec8bf Mon Sep 17 00:00:00 2001 +From 1aaae4cbef0f3e832506d71be41b06164a440dd3 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 14:35:04 -0300 Subject: Fix test_site. @@ -1091,7 +1091,7 @@ index 1a9c81d..09e612f 100644 2.45.2 -From 4ce3290c4d01342e18e27046f7edc6a430598b53 Mon Sep 17 00:00:00 2001 +From 08a6fc4f113001e8601ef50eed14b9a3fd9b2f5d Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 15:37:13 -0300 Subject: Fix test_sysconfig. @@ -1134,7 +1134,7 @@ index 35bea57..04c136f 100644 2.45.2 -From 423ffcf68a529f951b9fafc53ec755bd3eaac536 Mon Sep 17 00:00:00 2001 +From b9c25f918355e58eceb0a92e506ea86ce355cce5 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 15:45:45 -0300 Subject: Fix test_compileall by skipping tests that need hardlink support. diff --git a/dev-lang/python/python3.12-3.12.8.recipe b/dev-lang/python/python3.12-3.12.9.recipe similarity index 98% rename from dev-lang/python/python3.12-3.12.8.recipe rename to dev-lang/python/python3.12-3.12.9.recipe index e38cb84f6..c3c693bbd 100644 --- a/dev-lang/python/python3.12-3.12.8.recipe +++ b/dev-lang/python/python3.12-3.12.9.recipe @@ -10,10 +10,10 @@ Python is free to use, even for commercial products, because of its \ OSI-approved open source license." HOMEPAGE="https://www.python.org" LICENSE="Python" -COPYRIGHT="1990-2024 Python Software Foundation" +COPYRIGHT="1990-2025 Python Software Foundation" REVISION="1" SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-${portVersion}.tar.xz" -CHECKSUM_SHA256="c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e" +CHECKSUM_SHA256="7220835d9f90b37c006e9842a8dff4580aaca4318674f947302b8d28f3f81112" SOURCE_DIR="Python-$portVersion" pyShortVer="${portVersion%.*}" @@ -204,11 +204,11 @@ BUILD() # # Not using multiple jobs for make solves both the warnings and the possible error. - if $optimizedBuild; then - make -j 1 - else +# if $optimizedBuild; then +# make -j 1 +# else make $jobArgs - fi +# fi } INSTALL() diff --git a/dev-python/cryptography/cryptography-3.4.8.recipe b/dev-python/cryptography/cryptography-3.4.8.recipe index 136f869ac..fa059a849 100644 --- a/dev-python/cryptography/cryptography-3.4.8.recipe +++ b/dev-python/cryptography/cryptography-3.4.8.recipe @@ -8,8 +8,8 @@ HOMEPAGE="https://cryptography.io/" COPYRIGHT="2013-2020 The cryptography developers" LICENSE="Apache v2 BSD (3-clause)" -REVISION="2" -SOURCE_URI="https://pypi.io/packages/source/c/cryptography/cryptography-$portVersion.tar.gz" +REVISION="3" +SOURCE_URI="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-$portVersion.tar.gz" CHECKSUM_SHA256="94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c" ARCHITECTURES="all !x86_gcc2"