pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python21 Explicitly disable modules that should n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45a0200425d8
branches:  trunk
changeset: 494734:45a0200425d8
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 29 07:35:54 2005 +0000

description:
Explicitly disable modules that should not be built.

diffstat:

 lang/python21/distinfo         |   4 ++--
 lang/python21/patches/patch-ac |  20 ++++++++++----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (54 lines):

diff -r cf004d5bd013 -r 45a0200425d8 lang/python21/distinfo
--- a/lang/python21/distinfo    Sun May 29 06:39:11 2005 +0000
+++ b/lang/python21/distinfo    Sun May 29 07:35:54 2005 +0000
@@ -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 -r cf004d5bd013 -r 45a0200425d8 lang/python21/patches/patch-ac
--- a/lang/python21/patches/patch-ac    Sun May 29 06:39:11 2005 +0000
+++ b/lang/python21/patches/patch-ac    Sun May 29 07:35:54 2005 +0000
@@ -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 @@
  
          # 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'])],
  



Home | Main Index | Thread Index | Old Index