[Bug 243937] lang/python38: Fails to package in certain conditions due to DISABLED_EXTENSIONS not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jul 2021 01:57:13 +0000

--- Comment #22 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:


commit a94d4b1005b1e93a27bcb9e4e794eeb13c991dd5
Author:     Danilo G. Baio <dbaio_at_FreeBSD.org>
AuthorDate: 2021-07-07 02:04:38 +0000
Commit:     Danilo G. Baio <dbaio_at_FreeBSD.org>
CommitDate: 2021-07-08 01:55:17 +0000

    lang/python*: Replace DISABLED_EXTENSIONS with Setup.local

    Currently, lang/python38 and lang/python39 don't honor
    DISABLED_EXTENSIONS because patch-issue20210 was removed when
    lang/python38 was added to the ports tree. patch-issue20210 is still
    present on lang/python36 and lang/python37.

    Building with poudriere is not affected because builds are executed in a
    clean environment.

    Setup.local is the more canonical and recommended method for customizing
    Python builds for shared extensions & third party libraries.

    Support for a *disabled* marker in Setup files was introduced in Python
    3.7, so backport this fix to it to keep consistency in the ports tree.

    PR:             243358 [1]
    PR:             243937 [2]
    Reported by:    ngie [1]
    Reported by:    jcfyecrayz_at_liamekaens.com [2]
    Reported by:    tuxillo (IRC) DPorts
    Reviewed by:    koobs (python, maintainer)
    Approved by:    koobs, dbaio (python, maintainer)
    MFH:            2021Q3 (build bugfix)
    Differential Revision: https://reviews.freebsd.org/D31086

 lang/python37/Makefile                      |  7 ++-
 lang/python37/files/patch-issue20210 (gone) | 68 -----------------------------
 lang/python38/Makefile                      |  7 ++-
 lang/python39/Makefile                      |  7 ++-
 4 files changed, 18 insertions(+), 71 deletions(-)

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thu Jul 08 2021 - 01:57:13 UTC

Original text of this message