[Bug 243358] [PATCH] lang/python*: DISABLED_EXTENSIONS doesn't work as advertised
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 15 00:08:51 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243358
Bug ID: 243358
Summary: [PATCH] lang/python*: DISABLED_EXTENSIONS doesn't work
as advertised
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: python at FreeBSD.org
Reporter: ngie at FreeBSD.org
Flags: maintainer-feedback?(python at FreeBSD.org)
Assignee: python at FreeBSD.org
I tried building lang/python38 on a system with sqlite3 available, and
unfortunately it failed `check-plist` because the extension had been installed.
Doing some grepping around, DISABLE_EXTENSIONS isn't actively referred to in
setup.py nor in Makefile.pre*:
ports/lang/python38/work/Python-3.8.1/setup.py:DISABLED_MODULE_LIST = []
ports/lang/python38/work/Python-3.8.1/setup.py: if
ext.name not in DISABLED_MODULE_LIST]
ports/lang/python38/work/Python-3.8.1/setup.py: sysconf_dis =
sysconfig.get_config_var('MODDISABLED_NAMES').split()
It turns out that the correct way to do this is via `Modules/Setup`, but this
method seems to be broken.
An upstream bug is pending for the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list