head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.24 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.22 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.20 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.18 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2026.10.16.17.08.35; author adam; state dead; branches; next 1.1; commitid o6Jq8cQYuv58YIZG; 1.1 date 2023.11.10.09.48.40; author nia; state Exp; branches; next ; commitid t6NFHq2XMa5yX2ME; desc @@ 1.2 log @python310 py310-html-docs: removed, end of life @ text @$NetBSD: patch-Lib_test_test__shutil.py,v 1.1 2023/11/10 09:48:40 nia Exp $ posix.copyfile does not exist on Tiger. Python 3.8's posix._fcopyfile implementation unconditionally uses , which only exists on Leopard ane newer. This patch removes posix._fcopyfile on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile only conditionally after checking that the function exists (non-Apple systems don't have posix._fcopyfile either). thanks to @@dgelessus https://github.com/macports/macports-ports/pull/5987 --- Lib/test/test_shutil.py.orig 2023-08-24 12:46:25.000000000 +0000 +++ Lib/test/test_shutil.py @@@@ -2601,7 +2601,7 @@@@ class TestZeroCopySendfile(_ZeroCopyFile shutil._USE_CP_SENDFILE = True -@@unittest.skipIf(not MACOS, 'macOS only') +@@unittest.skipIf(not MACOS or not hasattr(posix, "_fcopyfile"), 'macOS with posix._fcopyfile only') class TestZeroCopyMACOS(_ZeroCopyFileTest, unittest.TestCase): PATCHPOINT = "posix._fcopyfile" @ 1.1 log @python39, python310: Fixes for Mac OS X 10.4 via MacPorts. @ text @d1 1 a1 1 $NetBSD$ @