From 6b9a7cf7782f06f68fe0bb60c29e0314090478a8 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Fri, 4 Jul 2003 11:57:54 +0000 Subject: o Utilize MASTER_SITE_PYTHON. o Rename pydoc to pydoc${PORTVERSION} to avoid conflicts among these ports. (lang/python port keeps both of bin/pydoc and bin/pydoc2.2) o Set LATEST_LINK to ${PYTHON_VERSION:S/.//} except lang/python. Now, we can install all of these python versions together cleanly. --- lang/python-devel/files/patch-setup.py | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'lang/python-devel/files/patch-setup.py') diff --git a/lang/python-devel/files/patch-setup.py b/lang/python-devel/files/patch-setup.py index f3cef489fa8f..b325b8938e41 100644 --- a/lang/python-devel/files/patch-setup.py +++ b/lang/python-devel/files/patch-setup.py @@ -1,11 +1,20 @@ ---- setup.py.orig Fri Mar 2 07:24:14 2001 -+++ setup.py Mon Mar 5 15:26:17 2001 -@@ -14,7 +14,7 @@ - from distutils.command.build_ext import build_ext +--- setup.py.orig Tue Jun 17 11:51:28 2003 ++++ setup.py Fri Jul 4 17:33:05 2003 +@@ -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 = ["_tkinter", "gdbm", "mpz", "pyexpat"] - def find_file(filename, std_dirs, paths): - """Searches for the directory where a given file is located, + def add_dir_to_list(dirlist, dir): + """Add the directory 'dir' to the list 'dirlist' (at the front) if +@@ -1127,7 +1127,7 @@ + ext_modules=[Extension('struct', ['structmodule.c'])], + + # Scripts to install +- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle'] ++ scripts = [] + ) + + # --install-platlib -- cgit v1.2.3