https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274671

--- Comment #27 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8

commit ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8
Author:     Charlie Li <vish...@freebsd.org>
AuthorDate: 2025-06-19 19:01:45 +0000
Commit:     Charlie Li <vish...@freebsd.org>
CommitDate: 2025-06-19 19:15:56 +0000

    python.mk: prepare handling versions with ABI flags appended

    Starting Python 3.13 there is an experimental free-threaded mode
    that effectively warrants a separate distribution from "vanilla"
    3.13. This mode includes appends an ABI flag so the resulting version
    is 3.13t. Some of the logic for comparing versions and generating
    flavours, amongst others, breaks since "3.13t" is not numeric, so
    adjust accordingly. Also account for 3.13t being a child port as
    the difference is one configure flag.

    To this effect, introduce two new read-only public variables,
    PYTHON_BASESUFFIX and PYTHON_BASEVER, for cases where the ABI flag
    in PYTHON_SUFFIX and PYTHON_VER is not warranted. Shift PYTHON_EXT_SUFFIX
    to use PYTHON_BASESUFFIX.

    PR: 274671
    Event: Kitchener-Waterloo Hackathon 202506

 Mk/Uses/python.mk | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to