[Bug 256558] lang/python3[89]: Fix build WITH_DEBUG

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Aug 2021 15:02:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256558

--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit a99955f2f86f2746a65456b8d3ea739f99035f2e
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2021-08-19 12:51:20 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2021-08-19 15:00:38 +0000

    lang/python310: Fix build WITH_DEBUG

    Python 3.10 [0] is using a value for "EXT_SUFFIX" that includes
    "SOABI" on FreeBSD, C extension module filenames are affected
    by this change [1].

    The limited C API is now supported if Python is built in debug mode [2],
    removed %%NO_DEBUG%% from
    %%NO_DEBUG%%lib/python%%XYDOT%%/lib-dynload/xxlimited.cpython-%%XY%%.so

    [0]:
https://github.com/python/cpython/commit/a44ce6c9f725d336aea51a946b42769f29fed613
    [1]:
https://github.com/python/cpython/blob/v3.10.0rc1/Lib/distutils/command/build_ext.py#L676-L684
    [2]:
https://github.com/python/cpython/commit/3359cab038968935b40344fad7c30d211f9692e4

    PR:             256558
    Approved by:    koobs (python, maintainer)
    MFH:            No (Port does not exist in quarterly)

 lang/python310/Makefile  |   1 -
 lang/python310/pkg-plist | 144 +++++++++++++++++++++++------------------------
 2 files changed, 72 insertions(+), 73 deletions(-)

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