You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
80005357d1
Defaulting python.pep517 to yes for py311 module ports, to prepare for the future removal of distutils from the stdlib and 'setup.py install' support from setuptools. Added py311 subports for py-build, py-installer, and dependencies.
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
--- setup.py.orig 2022-04-06 05:54:03.000000000 +1000
|
|
+++ setup.py 2022-04-09 19:11:21.000000000 +1000
|
|
@@ -56,7 +56,7 @@
|
|
|
|
|
|
# This global variable is used to hold the list of modules to be disabled.
|
|
-DISABLED_MODULE_LIST = []
|
|
+DISABLED_MODULE_LIST = ['_tkinter', '_gdbm']
|
|
|
|
# --list-module-names option used by Tools/scripts/generate_module_names.py
|
|
LIST_MODULE_NAMES = False
|
|
@@ -847,9 +847,6 @@
|
|
# Ensure that /usr/local is always used, but the local build
|
|
# directories (i.e. '.' and 'Include') must be first. See issue
|
|
# 10520.
|
|
- if not CROSS_COMPILING:
|
|
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
|
|
- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
|
# only change this for cross builds for 3.3, issues on Mageia
|
|
if CROSS_COMPILING:
|
|
self.add_cross_compiling_paths()
|
|
@@ -1368,7 +1365,8 @@
|
|
self.addext(Extension('xxlimited_35', ['xxlimited_35.c']))
|
|
|
|
def detect_tkinter(self):
|
|
- self.addext(Extension('_tkinter', ['_tkinter.c', 'tkappinit.c']))
|
|
+ self.announce("INFO: Not using Tcl/Tk", 2)
|
|
+ return False
|
|
|
|
def configure_ctypes(self, ext):
|
|
return True
|