mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -04:00
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit dependencies. [1] - Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on 'do-configure' targets. [2] Reviewed by: eik [1] Submitted by: Mike Brown <mike@skew.org>
30 lines
1 KiB
Python
30 lines
1 KiB
Python
--- setup.py.orig Sun Jun 27 07:29:42 2004
|
|
+++ setup.py Thu Jul 8 23:55:04 2004
|
|
@@ -15,7 +15,7 @@
|
|
from distutils.command.install_lib import install_lib
|
|
|
|
# This global variable is used to hold the list of modules to be disabled.
|
|
-disabled_module_list = []
|
|
+disabled_module_list = ["_bsddb", "_tkinter", "gdbm", "mpz"]
|
|
|
|
def add_dir_to_list(dirlist, dir):
|
|
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
|
|
@@ -778,7 +778,7 @@
|
|
# Linux-specific modules
|
|
exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) )
|
|
|
|
- if platform in ('linux2', 'freebsd4'):
|
|
+ if platform in ('linux2', 'freebsd4', 'freebsd5'):
|
|
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
|
|
|
|
if platform == 'sunos5':
|
|
@@ -1160,8 +1160,7 @@
|
|
ext_modules=[Extension('struct', ['structmodule.c'])],
|
|
|
|
# Scripts to install
|
|
- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
|
- 'Lib/smtpd.py']
|
|
+ scripts = []
|
|
)
|
|
|
|
# --install-platlib
|