Annotation of pkgsrc/lang/python21/patches/patch-ac, revision 1.2

1.1       drochner    1: $NetBSD$
                      2: 
                      3: --- setup.py.orig      Thu Dec 27 22:51:02 2001
1.2     ! drochner    4: +++ setup.py   Sun Jan 27 15:53:18 2002
1.1       drochner    5: @@ -265,13 +265,13 @@
                      6:          # These represent audio samples or images as strings:
                      7:  
                      8:          # Disabled on 64-bit platforms
                      9: -        if sys.maxint != 9223372036854775807L:
                     10: +#        if sys.maxint != 9223372036854775807L:
                     11:              # Operations on audio samples
                     12: -            exts.append( Extension('audioop', ['audioop.c']) )
                     13: +#            exts.append( Extension('audioop', ['audioop.c']) )
                     14:              # Operations on images
                     15: -            exts.append( Extension('imageop', ['imageop.c']) )
                     16: +#            exts.append( Extension('imageop', ['imageop.c']) )
                     17:              # Read SGI RGB image files (but coded portably)
                     18: -            exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
                     19: +#            exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
                     20:  
                     21:          # readline
                     22:          if self.compiler.find_library_file(lib_dirs, 'readline'):
1.2     ! drochner   23: @@ -417,8 +417,8 @@
        !            24:              else:
        !            25:                  curses_libs = ['curses', 'termcap']
        !            26:  
        !            27: -            exts.append( Extension('_curses', ['_cursesmodule.c'],
        !            28: -                                   libraries = curses_libs) )
        !            29: +#            exts.append( Extension('_curses', ['_cursesmodule.c'],
        !            30: +#                                   libraries = curses_libs) )
        !            31:  
        !            32:          # If the curses module is enabled, check for the panel module
        !            33:          if (os.path.exists('Modules/_curses_panel.c') and
1.1       drochner   34: @@ -609,7 +609,7 @@
                     35:            ext_modules=[Extension('struct', ['structmodule.c'])],
                     36:  
                     37:            # Scripts to install
                     38: -          scripts = ['Tools/scripts/pydoc']
                     39: +          scripts = ['Tools/scripts/pydoc2.1']
                     40:          )
                     41:  
                     42:  # --install-platlib

CVSweb <webmaster@jp.NetBSD.org>