diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-22 13:05:03 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-22 13:05:03 +0000 |
commit | 7327d0d83d539327392ccdc3c1aeff5d69b62caa (patch) | |
tree | 9df8c5539ab7bbe58398157103b8a7480a602569 /lang/python21/patches | |
parent | bc073fc6329dcb99655ed5fed27f61a77373c5c3 (diff) | |
download | pkgsrc-7327d0d83d539327392ccdc3c1aeff5d69b62caa.tar.gz |
-update to 2.1.2 - except one method addition (socket.sendall()) this is a
pure bugfix release
-install the "pydoc" script as "pydoc2.1" and make sure the corresponding
python version is used
-disable the audioop, imageop and rgbimg extensions - these don't work on
64-bit platforms anyway, I haven't seen a place where they are used yet,
and in case a need shows up, we better make an own extension pkg from
it which is marked FOR_PLATFORM_ONLY
Diffstat (limited to 'lang/python21/patches')
-rw-r--r-- | lang/python21/patches/patch-ab | 10 | ||||
-rw-r--r-- | lang/python21/patches/patch-ac | 31 |
2 files changed, 41 insertions, 0 deletions
diff --git a/lang/python21/patches/patch-ab b/lang/python21/patches/patch-ab new file mode 100644 index 00000000000..48415b59f49 --- /dev/null +++ b/lang/python21/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 2002/01/22 13:05:05 drochner Exp $ + +--- Tools/scripts/pydoc2.1.orig Tue Jan 22 11:16:24 2002 ++++ Tools/scripts/pydoc2.1 Tue Jan 22 11:16:34 2002 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2.1 + + import pydoc + pydoc.cli() diff --git a/lang/python21/patches/patch-ac b/lang/python21/patches/patch-ac new file mode 100644 index 00000000000..2790cba640d --- /dev/null +++ b/lang/python21/patches/patch-ac @@ -0,0 +1,31 @@ +$NetBSD: patch-ac,v 1.1 2002/01/22 13:05:05 drochner Exp $ + +--- setup.py.orig Thu Dec 27 22:51:02 2001 ++++ setup.py Tue Jan 22 11:11:35 2002 +@@ -265,13 +265,13 @@ + # These represent audio samples or images as strings: + + # Disabled on 64-bit platforms +- if sys.maxint != 9223372036854775807L: ++# if sys.maxint != 9223372036854775807L: + # Operations on audio samples +- exts.append( Extension('audioop', ['audioop.c']) ) ++# exts.append( Extension('audioop', ['audioop.c']) ) + # Operations on images +- exts.append( Extension('imageop', ['imageop.c']) ) ++# exts.append( Extension('imageop', ['imageop.c']) ) + # Read SGI RGB image files (but coded portably) +- exts.append( Extension('rgbimg', ['rgbimgmodule.c']) ) ++# exts.append( Extension('rgbimg', ['rgbimgmodule.c']) ) + + # readline + if self.compiler.find_library_file(lib_dirs, 'readline'): +@@ -609,7 +609,7 @@ + ext_modules=[Extension('struct', ['structmodule.c'])], + + # Scripts to install +- scripts = ['Tools/scripts/pydoc'] ++ scripts = ['Tools/scripts/pydoc2.1'] + ) + + # --install-platlib |