diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-29 07:35:54 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-29 07:35:54 +0000 |
commit | c291b9d1d902ede37b7524c4f7686a825f547b02 (patch) | |
tree | b81b6e06ece71b53b81c9850d6e17a4fd43d1960 /lang | |
parent | bfe28d6d1493218f4b7de0d5cc71f8c524df15ed (diff) | |
download | pkgsrc-c291b9d1d902ede37b7524c4f7686a825f547b02.tar.gz |
Explicitly disable modules that should not be built.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python21/distinfo | 4 | ||||
-rw-r--r-- | lang/python21/patches/patch-ac | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/lang/python21/distinfo b/lang/python21/distinfo index b8925f74a28..fbd37533bc5 100644 --- a/lang/python21/distinfo +++ b/lang/python21/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.15 2005/05/29 06:39:11 minskim Exp $ +$NetBSD: distinfo,v 1.16 2005/05/29 07:35:54 minskim Exp $ SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4 RMD160 (Python-2.1.3.tgz) = d7216480cf884507d97bf7932767871977fc1ccc Size (Python-2.1.3.tgz) = 6194432 bytes SHA1 (patch-aa) = 8273acc49a9eedad6e09685098178f3b7fb8f1c6 SHA1 (patch-ab) = f87a4d5c76182ab27ba79b42f00e8a2ff63bcf2b -SHA1 (patch-ac) = ea4f6cfe74095be2877376f9edd2f3b8cea6335b +SHA1 (patch-ac) = a1d830b73a055d5312e7ce5c39932da38e93584e SHA1 (patch-ad) = 769bcd7803723c8d538a74173792ffcc491fa414 SHA1 (patch-af) = e17c20f83ba1219860a6aefd959364147c7963e1 SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221 diff --git a/lang/python21/patches/patch-ac b/lang/python21/patches/patch-ac index b2edb7a7b91..cd3e6bbfb65 100644 --- a/lang/python21/patches/patch-ac +++ b/lang/python21/patches/patch-ac @@ -1,7 +1,16 @@ -$NetBSD: patch-ac,v 1.6 2005/05/29 06:39:12 minskim Exp $ +$NetBSD: patch-ac,v 1.7 2005/05/29 07:35:54 minskim Exp $ --- setup.py.orig 2001-12-27 15:51:02.000000000 -0600 +++ setup.py +@@ -14,7 +14,7 @@ from distutils.core import Extension, se + from distutils.command.build_ext import build_ext + + # This global variable is used to hold the list of modules to be disabled. +-disabled_module_list = [] ++disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_tkinter", "gdbm", "mpz", "pyexpat", "readline"] + + def find_file(filename, std_dirs, paths): + """Searches for the directory where a given file is located, @@ -145,11 +145,16 @@ class PyBuildExt(build_ext): return platform @@ -106,15 +115,6 @@ $NetBSD: patch-ac,v 1.6 2005/05/29 06:39:12 minskim Exp $ # Interface to the Expat XML parser # -@@ -515,7 +500,7 @@ class PyBuildExt(build_ext): - self.extensions.extend(exts) - - # Call the method for detecting whether _tkinter can be compiled -- self.detect_tkinter(inc_dirs, lib_dirs) -+ #self.detect_tkinter(inc_dirs, lib_dirs) - - - def detect_tkinter(self, inc_dirs, lib_dirs): @@ -609,7 +594,7 @@ def main(): ext_modules=[Extension('struct', ['structmodule.c'])], |