pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr  9 14:49:18 UTC 2025

Modified Files:
        pkgsrc/lang/py312-html-docs: Makefile distinfo
        pkgsrc/lang/python312: Makefile PLIST dist.mk distinfo
        pkgsrc/lang/python312/patches: patch-Makefile.pre.in

Log Message:
python312 py312-html-docs: updated to 3.12.10

Python 3.12.10 final

macOS

gh-124111: Update macOS installer to use Tcl/Tk 8.6.16.
gh-131423: Update macOS installer to use OpenSSL 3.0.16. Patch by Bénédikt Tran.
gh-131025: Update macOS installer to ship with SQLite 3.49.1.
gh-91132: Update macOS installer to use ncurses 6.5.

Windows

gh-131423: Update bundled version of OpenSSL to 3.0.16. The new build also disables uplink support, which may be relevant to embedders but has no impact on normal use.
gh-131025: Update Windows installer to ship with SQLite 3.49.1.
gh-131020: pylauncher correctly detects a BOM when searching for the shebang. Fix by Chris Eibl.

Tools/Demos

gh-131852: msgfmt no longer adds the POT-Creation-Date to generated .mo files for consistency with GNU msgfmt.
gh-85012: Correctly reset msgctxt when compiling messages in msgfmt.

Tests

gh-131050: test_ssl.test_dh_params is skipped if the underlying TLS library does not support finite-field ephemeral Diffie-Hellman.
gh-119727: Add --single-process command line option to Python test runner (regrtest). Patch by Victor Stinner.

Security

gh-131809: Update bundled libexpat to 2.7.1
gh-131261: Upgrade to libexpat 2.7.0
gh-127371: Avoid unbounded buffering for tempfile.SpooledTemporaryFile.writelines(). Previously, disk spillover was only checked after the lines iterator had been exhausted. This is now done after 
each line is written.
gh-121284: Fix bug in the folding of rfc2047 encoded-words when flattening an email message using a modern email policy. Previously when an encoded-word was too long for a line, it would be decoded, 
split across lines, and re-encoded. But commas and other special characters in the original text could be left unencoded and unquoted. This could theoretically be used to spoof header lines using a 
carefully constructed encoded-word if the resulting rendered email was transmitted or re-parsed.

Library

gh-116608: undeprecate functional API for importlib.resources

gh-132075: Fix possible use of socket address structures with uninitialized members. Now all structure members are initialized with zeroes by default.

gh-132002: Fix crash when deallocating contextvars.ContextVar with weird unahashable string names.

gh-131668: socket: Fix code parsing AF_BLUETOOTH socket addresses.

gh-131492: Fix a resource leak when constructing a gzip.GzipFile with a filename fails, for example when passing an invalid compresslevel.

gh-131325: Fix sendfile fallback implementation to drain data after writing to transport in asyncio.

gh-129843: Fix incorrect argument passing in warnings.warn_explicit().

gh-131204: Use monospace font from System Font Stack for cross-platform support in difflib.HtmlDiff.

gh-131045: Fix issue with __contains__, values, and pseudo-members for enum.Flag.

gh-130959: Fix pure-Python implementation of datetime.time.fromisoformat() to reject times with spaces in fractional part (for example, 12:34:56.400 +02:00), matching the C implementation. Patch by 
Michał Gorny.

gh-130637: Add validation for numeric response data in poplib.POP3.stat() method

gh-130461: Remove .. index:: directives from the uuid module documentation. These directives previously created entries in the general index for getnode() as well as the uuid1(), uuid3(), uuid4(), 
and uuid5() constructor functions.

gh-130285: Fix corner case for random.sample() allowing the counts parameter to specify an empty population. So now, sample([], 0, counts=[]) and sample('abc', k=0, counts=[0, 0, 0]) both give the 
same result as sample([], 0).

gh-130250: Fix regression in traceback.print_last().

gh-118761: Reverts a change in the previous release attempting to make some stdlib imports used within the subprocess module lazy as this was causing errors during __del__ finalizers calling methods 
such as terminate, or kill, or send_signal.

gh-130164: Fixed failure to raise TypeError in inspect.Signature.bind() for positional-only arguments provided by keyword when a variadic keyword argument (e.g. **kwargs) is present.

gh-130151: Fix reference leaks in _hashlib.hmac_new() and _hashlib.hmac_digest(). Patch by Bénédikt Tran.

gh-129726: Fix gzip.GzipFile raising an unraisable exception during garbage collection when referring to a temporary object by breaking the reference loop with weakref.

gh-129583: Update bundled pip to 25.0.1

gh-97850: Update the deprecation warning of importlib.abc.Loader.load_module().

gh-129603: Fix bugs where sqlite3.Row objects could segfault if their inherited description was set to None. Patch by Erlend Aasland.

gh-117779: Fix reading duplicated entries in zipfile by name. Reading duplicated entries (except the last one) by ZipInfo now emits a warning instead of raising an exception.

gh-128772: Fix pydoc for methods with the __module__ attribute equal to None.

gh-92897: Scheduled the deprecation of the check_home argument of sysconfig.is_python_build() to Python 3.15.

gh-128703: Fix mimetypes.guess_type() to use default mapping for empty Content-Type in registry.

gh-126037: xml.etree.ElementTree: Fix a crash in Element.find, Element.findtext and Element.findall when the tag to find implements an __eq__() method mutating the element being queried. Patch by 
Bénédikt Tran.

gh-127712: Fix handling of the secure argument of logging.handlers.SMTPHandler.

gh-126033: xml.etree.ElementTree: Fix a crash in Element.remove when the element is concurrently mutated. Patch by Bénédikt Tran.

gh-125553: Fix round-trip invariance for backslash continuations in tokenize.untokenize().

gh-101137: Mime type text/x-rst is now supported by mimetypes.

gh-113238: Add Anchor to importlib.resources (in order for the code to comply with the documentation)

gh-89039: When replace() method is called on a subclass of datetime, date or time, properly call derived constructor. Previously, only the base class’s constructor was called.

Also, make sure to pass non-zero fold values when creating subclasses in various methods. Previously, fold was silently ignored.

IDLE

gh-129873: Simplify displaying the IDLE doc by only copying the text section of idle.html to idlelib/help.html. Patch by Stan Ulbrych.

Documentation

gh-131417: Mention asyncio.Future and asyncio.Task in generic classes list.
gh-125722: Require Sphinx 8.2.0 or later to build the Python documentation. Patch by Adam Turner.
gh-129712: The wheel tags supported by each macOS universal SDK option are now documented.
gh-46236: C API: Document PyUnicode_RSplit(), PyUnicode_Partition() and PyUnicode_RPartition().

Core and Builtins

gh-131670: Fix anext() failing on sync __anext__() raising an exception.
gh-130809: Fixed an issue where _PyFrame_LocalsToFast tries to write module level values to hidden fasts.
gh-130775: Do not crash on negative column and end_column in ast locations.
gh-130618: Fix a bug that was causing UnicodeDecodeError or SystemError to be raised when using f-strings with lambda expressions with non-ASCII characters. Patch by Pablo Galindo
gh-130163: Fix possible crashes related to concurrent change and use of the sys module attributes.
gh-88887: Fixing multiprocessing Resource Tracker process leaking, usually observed when running Python as PID 1.
gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer. Patch by Pablo Galindo
gh-128632: Disallow __classdict__ as the name of a type parameter. Using this name would previously crash the interpreter in some circumstances.
gh-125331: from __future__ import barry_as_FLUFL now works in more contexts, including when it is used in files, with the -c flag, and in the REPL when there are multiple statements on the same line. 
Previously, it worked only on subsequent lines in the REPL, and when the appropriate flags were passed directly to compile(). Patch by Pablo Galindo.
gh-107526: Revert converting vars, dir, next, getattr, and iter to argument clinic.
gh-107674: Fixed performance regression in sys.settrace.

C API

gh-131740: Update PyUnstable_GC_VisitObjects to traverse perm gen.

Build

gh-131865: The DTrace build now properly passes the CC and CFLAGS variables to the dtrace command when utilizing SystemTap on Linux.
gh-130740: Ensure that Python.h is included before stdbool.h unless pyconfig.h is included before or in some platform-specific contexts.
gh-129838: Don’t redefine _Py_NO_SANITIZE_UNDEFINED when compiling with a recent GCC version and undefined sanitizer enabled.
gh-129660: Drop test_embed from PGO training, whose contribution in recent versions is considered to be ignorable.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/py312-html-docs/Makefile \
    pkgsrc/lang/py312-html-docs/distinfo
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/python312/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/python312/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/python312/dist.mk
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/python312/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/python312/patches/patch-Makefile.pre.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py312-html-docs/Makefile
diff -u pkgsrc/lang/py312-html-docs/Makefile:1.10 pkgsrc/lang/py312-html-docs/Makefile:1.11
--- pkgsrc/lang/py312-html-docs/Makefile:1.10   Tue Feb  4 22:11:15 2025
+++ pkgsrc/lang/py312-html-docs/Makefile        Wed Apr  9 14:49:18 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2025/02/04 22:11:15 adam Exp $
+# $NetBSD: Makefile,v 1.11 2025/04/09 14:49:18 adam Exp $
 
-VERS=          3.12.9
+VERS=          3.12.10
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py312-html-docs-${VERS}
 CATEGORIES=    lang python
Index: pkgsrc/lang/py312-html-docs/distinfo
diff -u pkgsrc/lang/py312-html-docs/distinfo:1.10 pkgsrc/lang/py312-html-docs/distinfo:1.11
--- pkgsrc/lang/py312-html-docs/distinfo:1.10   Tue Feb  4 22:11:15 2025
+++ pkgsrc/lang/py312-html-docs/distinfo        Wed Apr  9 14:49:18 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2025/02/04 22:11:15 adam Exp $
+$NetBSD: distinfo,v 1.11 2025/04/09 14:49:18 adam Exp $
 
-BLAKE2s (python-3.12.9-docs-html.tar.bz2) = e4c4e5f4675b06d620bfc9d1ca861b290818c8434b5e8eae97b07b0d296763d4
-SHA512 (python-3.12.9-docs-html.tar.bz2) = 808e2848469fa77b45a15891bc9482761c9b2786003b68156fe28cd5dd592cb0556224b6f322a1aa54b67d74b207fbc033cf2a7da995fac9bf4fd1187f6608b0
-Size (python-3.12.9-docs-html.tar.bz2) = 8428229 bytes
+BLAKE2s (python-3.12.10-docs-html.tar.bz2) = b143376860aba3d10590de5cc8aaa81767ede0a7dc3ce771802882fbae9e4b47
+SHA512 (python-3.12.10-docs-html.tar.bz2) = 6e554e6f21a304177d00bd0c23c56d1437fdecdfdfb8adaf735a43d0f5d5bd697f0daa45ebe0241846a48de383b3d8a24ec8c4194ccc325b3a2bd8cd63d3df4b
+Size (python-3.12.10-docs-html.tar.bz2) = 8428154 bytes

Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.28 pkgsrc/lang/python312/Makefile:1.29
--- pkgsrc/lang/python312/Makefile:1.28 Mon Mar 31 13:31:40 2025
+++ pkgsrc/lang/python312/Makefile      Wed Apr  9 14:49:18 2025
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.28 2025/03/31 13:31:40 jakllsch Exp $
+# $NetBSD: Makefile,v 1.29 2025/04/09 14:49:18 adam Exp $
 
-PKGREVISION=   1
 .include "dist.mk"
 
 PKGNAME=       python312-${PY_DISTVERSION}

Index: pkgsrc/lang/python312/PLIST
diff -u pkgsrc/lang/python312/PLIST:1.12 pkgsrc/lang/python312/PLIST:1.13
--- pkgsrc/lang/python312/PLIST:1.12    Tue Feb  4 22:11:15 2025
+++ pkgsrc/lang/python312/PLIST Wed Apr  9 14:49:18 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2025/02/04 22:11:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2025/04/09 14:49:18 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/idle${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
@@ -1034,7 +1034,7 @@ lib/python${PY_VER_SUFFIX}/ensurepip/__i
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.py
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyo
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-24.3.1-py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyo
@@ -2298,7 +2298,6 @@ lib/python${PY_VER_SUFFIX}/test/audit-te
 lib/python${PY_VER_SUFFIX}/test/autotest.py
 lib/python${PY_VER_SUFFIX}/test/autotest.pyc
 lib/python${PY_VER_SUFFIX}/test/autotest.pyo
-lib/python${PY_VER_SUFFIX}/test/badsyntax_pep3120.py
 lib/python${PY_VER_SUFFIX}/test/bisect_cmd.py
 lib/python${PY_VER_SUFFIX}/test/bisect_cmd.pyc
 lib/python${PY_VER_SUFFIX}/test/bisect_cmd.pyo
@@ -4870,6 +4869,9 @@ lib/python${PY_VER_SUFFIX}/test/test_pyc
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/__init__.py
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/__init__.pyc
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/test_pydoc/module_none.py
+lib/python${PY_VER_SUFFIX}/test/test_pydoc/module_none.pyc
+lib/python${PY_VER_SUFFIX}/test/test_pydoc/module_none.pyo
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/pydoc_mod.py
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/pydoc_mod.pyc
 lib/python${PY_VER_SUFFIX}/test/test_pydoc/pydoc_mod.pyo
@@ -5305,10 +5307,15 @@ lib/python${PY_VER_SUFFIX}/test/test_too
 lib/python${PY_VER_SUFFIX}/test/test_tools/__main__.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/__main__.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/__main__.pyo
+lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/ascii-escapes.pot
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/docstrings.pot
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/docstrings.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/docstrings.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/docstrings.pyo
+lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/escapes.pot
+lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/escapes.py
+lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/escapes.pyc
+lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/escapes.pyo
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/fileloc.pot
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/fileloc.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/fileloc.pyc
@@ -5317,6 +5324,12 @@ lib/python${PY_VER_SUFFIX}/test/test_too
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/messages.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/messages.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/i18n_data/messages.pyo
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/fuzzy.json
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/fuzzy.mo
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/fuzzy.po
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/general.json
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/general.mo
+lib/python${PY_VER_SUFFIX}/test/test_tools/msgfmt_data/general.po
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_freeze.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_freeze.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_freeze.pyo
@@ -5326,6 +5339,9 @@ lib/python${PY_VER_SUFFIX}/test/test_too
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_makefile.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_makefile.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_makefile.pyo
+lib/python${PY_VER_SUFFIX}/test/test_tools/test_msgfmt.py
+lib/python${PY_VER_SUFFIX}/test/test_tools/test_msgfmt.pyc
+lib/python${PY_VER_SUFFIX}/test/test_tools/test_msgfmt.pyo
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_reindent.py
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_reindent.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tools/test_reindent.pyo
@@ -5731,6 +5747,7 @@ lib/python${PY_VER_SUFFIX}/test/tokenize
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/bad_coding.py
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/bad_coding2.py
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/badsyntax_3131.py
+lib/python${PY_VER_SUFFIX}/test/tokenizedata/badsyntax_pep3120.py
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/coding20731.py
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/coding20731.pyc
 lib/python${PY_VER_SUFFIX}/test/tokenizedata/coding20731.pyo

Index: pkgsrc/lang/python312/dist.mk
diff -u pkgsrc/lang/python312/dist.mk:1.10 pkgsrc/lang/python312/dist.mk:1.11
--- pkgsrc/lang/python312/dist.mk:1.10  Tue Feb  4 22:11:15 2025
+++ pkgsrc/lang/python312/dist.mk       Wed Apr  9 14:49:18 2025
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.10 2025/02/04 22:11:15 adam Exp $
+# $NetBSD: dist.mk,v 1.11 2025/04/09 14:49:18 adam Exp $
 
-PY_DISTVERSION=        3.12.9
+PY_DISTVERSION=        3.12.10
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python312/distinfo

Index: pkgsrc/lang/python312/distinfo
diff -u pkgsrc/lang/python312/distinfo:1.13 pkgsrc/lang/python312/distinfo:1.14
--- pkgsrc/lang/python312/distinfo:1.13 Tue Feb  4 22:11:15 2025
+++ pkgsrc/lang/python312/distinfo      Wed Apr  9 14:49:18 2025
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.13 2025/02/04 22:11:15 adam Exp $
+$NetBSD: distinfo,v 1.14 2025/04/09 14:49:18 adam Exp $
 
-BLAKE2s (Python-3.12.9.tar.xz) = 2b7dc7efb289b24b19fcbe8a9d95c0ca755f6318603f41dadd30568f9ff28b11
-SHA512 (Python-3.12.9.tar.xz) = c840b14aa21e6a963d18c06ebaafb551d9c9a101b3866417e762fc4a2fde071a7a25fa257faba2956c7344bbc2413ed61690a712d26fba4d0dbeaa50e49b2574
-Size (Python-3.12.9.tar.xz) = 20502440 bytes
+BLAKE2s (Python-3.12.10.tar.xz) = b5a4ba4d450441b6f13d61d8413d75f880cba89e10eca91fa2799ca16f5df63b
+SHA512 (Python-3.12.10.tar.xz) = 520c30e3958d0be3c127e5dbb1c52bb3bfc404b5b3c7eb56525e25b9b59af9b21b53bee192f323f470e1df806f6cb2dd3411eb90cbc1c4b7d9b6b0777c29e644
+Size (Python-3.12.10.tar.xz) = 20520960 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
 SHA1 (patch-Lib_sysconfig.py) = bc6d91bf8f7121456b26ea7f080f588c96f2596f
-SHA1 (patch-Makefile.pre.in) = 03403a42fc77e4d244fe22335563927f97be6980
+SHA1 (patch-Makefile.pre.in) = 6306bf72186346b6698a2ee99c4a89364f1bf188
 SHA1 (patch-Modules_readline.c) = 232f6ac43b5a0e87c915f13117bae91ef069a6c1
 SHA1 (patch-Modules_socketmodule.c) = 9d88a801af6e2cbd36b9935a46c8a86727222d56
 SHA1 (patch-configure) = 041b53b35713165bc6c299538154a0bb798e5b4b

Index: pkgsrc/lang/python312/patches/patch-Makefile.pre.in
diff -u pkgsrc/lang/python312/patches/patch-Makefile.pre.in:1.1 pkgsrc/lang/python312/patches/patch-Makefile.pre.in:1.2
--- pkgsrc/lang/python312/patches/patch-Makefile.pre.in:1.1     Mon Oct  2 20:07:15 2023
+++ pkgsrc/lang/python312/patches/patch-Makefile.pre.in Wed Apr  9 14:49:18 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile.pre.in,v 1.1 2023/10/02 20:07:15 adam Exp $
+$NetBSD: patch-Makefile.pre.in,v 1.2 2025/04/09 14:49:18 adam Exp $
 
 Use only one optimisation level; needed for PLIST and setuptools compatibility.
 Do not build/install libpython3.so.
 Simplify _sysconfigdata to include only platform name.
 Swap targets libinstall and libainstall, to byte-compile python-config.py.
 
---- Makefile.pre.in.orig       2023-08-05 12:11:26.000000000 +0000
+--- Makefile.pre.in.orig       2025-04-08 11:35:47.000000000 +0000
 +++ Makefile.pre.in
 @@ -255,7 +255,7 @@ DIST=              $(DISTFILES) $(DISTDIRS)
  LIBRARY=      @LIBRARY@
@@ -16,25 +16,25 @@ Swap targets libinstall and libainstall,
  DLLLIBRARY=   @DLLLIBRARY@
  LDLIBRARYDIR=   @LDLIBRARYDIR@
  INSTSONAME=   @INSTSONAME@
-@@ -1569,7 +1569,7 @@ Python/frozen.o: $(FROZEN_FILES_OUT)
+@@ -1574,7 +1574,7 @@ Python/frozen.o: $(FROZEN_FILES_OUT)
  # an include guard, so we can't use a pipeline to transform its output.
  Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
        $(MKDIR_P) Include
--      $(DTRACE) $(DFLAGS) -o $@ -h -s $<
-+      $(DTRACE) $(DFLAGS) -o $@ -h -s $(srcdir)/Include/pydtrace.d
+-      CC="$(CC)" CFLAGS="$(CFLAGS)" $(DTRACE) $(DFLAGS) -o $@ -h -s $<
++      CC="$(CC)" CFLAGS="$(CFLAGS)" $(DTRACE) $(DFLAGS) -o $@ -h -s $(srcdir)/Include/pydtrace.d
        : sed in-place edit with POSIX-only tools
        sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp
        mv $@.tmp $@
-@@ -1579,7 +1579,7 @@ Python/import.o: $(srcdir)/Include/pydtr
+@@ -1584,7 +1584,7 @@ Python/import.o: $(srcdir)/Include/pydtr
  Modules/gcmodule.o: $(srcdir)/Include/pydtrace.h
  
  Python/pydtrace.o: $(srcdir)/Include/pydtrace.d $(DTRACE_DEPS)
--      $(DTRACE) $(DFLAGS) -o $@ -G -s $< $(DTRACE_DEPS)
-+      $(DTRACE) $(DFLAGS) -o $@ -G -s $(srcdir)/Include/pydtrace.d $(DTRACE_DEPS)
+-      CC="$(CC)" CFLAGS="$(CFLAGS)" $(DTRACE) $(DFLAGS) -o $@ -G -s $< $(DTRACE_DEPS)
++      CC="$(CC)" CFLAGS="$(CFLAGS)" $(DTRACE) $(DFLAGS) -o $@ -G -s $(srcdir)/Include/pydtrace.d $(DTRACE_DEPS)
  
  Objects/typeobject.o: Objects/typeslots.inc
  
-@@ -1918,7 +1918,7 @@ altinstall: commoninstall
+@@ -1923,7 +1923,7 @@ altinstall: commoninstall
  
  .PHONY: commoninstall
  commoninstall:  check-clean-src @FRAMEWORKALTINSTALLFIRST@ \
@@ -43,7 +43,7 @@ Swap targets libinstall and libainstall,
                sharedinstall altmaninstall @FRAMEWORKALTINSTALLLAST@
  
  # Install shared libraries enabled by Setup
-@@ -1981,7 +1981,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK
+@@ -1986,7 +1986,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK
                        if test -n "$(PY3LIBRARY)"; then \
                                $(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \
                        fi; \
@@ -53,7 +53,7 @@ Swap targets libinstall and libainstall,
                fi; \
        fi
        if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \
-@@ -2299,18 +2300,18 @@ libinstall:    all $(srcdir)/Modules/xxmodu
+@@ -2333,18 +2334,18 @@ libinstall:    all $(srcdir)/Modules/xxmodu
                        esac; \
                done; \
        done



Home | Main Index | Thread Index | Old Index