summaryrefslogtreecommitdiff
path: root/lang/python22
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-06-06 17:31:17 +0000
committerdrochner <drochner@pkgsrc.org>2003-06-06 17:31:17 +0000
commit52947f7d708fea02ee9faea140a1bd00b4ee12ea (patch)
tree3436133b61ac3cff4a12bb731ba48527fce29267 /lang/python22
parent1afb6de11e7eafc3d8b0d54bac5180a0d971a1f0 (diff)
downloadpkgsrc-52947f7d708fea02ee9faea140a1bd00b4ee12ea.tar.gz
update Python22 to 2.2.3
This is a bugfix release. Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the interpreter against libgcc. This should fix PR pkg/16144 in the Python2.2 (and NetBSD-1.5) case.
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/Makefile9
-rw-r--r--lang/python22/PLIST.common58
-rw-r--r--lang/python22/PLIST.common_end4
-rw-r--r--lang/python22/distinfo9
-rw-r--r--lang/python22/patches/patch-aa30
-rw-r--r--lang/python22/patches/patch-ai13
6 files changed, 97 insertions, 26 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index d9700e650d1..c08fd7897d1 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.16 2003/06/02 01:18:56 jschauma Exp $
+# $NetBSD: Makefile,v 1.17 2003/06/06 17:31:18 drochner Exp $
#
-DISTNAME= Python-2.2.2
-PKGNAME= python22-2.2.2
+DISTNAME= Python-2.2.3
+PKGNAME= python22-2.2.3
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.2/
+MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@netbsd.org
@@ -32,6 +32,7 @@ PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
# -stack size too small in main thread
CONFIGURE_ARGS+= --without-threads
.endif
+MAKE_ENV+= LINK_ALL_LIBGCC_HACK=${LINK_ALL_LIBGCC_HACK:Q}
INSTALL_TARGET= altinstall
diff --git a/lang/python22/PLIST.common b/lang/python22/PLIST.common
index 63c9b75079e..bb55774c9fd 100644
--- a/lang/python22/PLIST.common
+++ b/lang/python22/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.2 2002/10/15 16:16:35 tsarna Exp $
+@comment $NetBSD: PLIST.common,v 1.3 2003/06/06 17:31:18 drochner Exp $
bin/pydoc2.2
bin/python2.2
include/python2.2/Python.h
@@ -405,6 +405,9 @@ lib/python2.2/dumbdbm.pyo
+lib/python2.2/email/_parseaddr.py
+lib/python2.2/email/_parseaddr.pyc
+lib/python2.2/email/_parseaddr.pyo
lib/python2.2/email/Charset.py
lib/python2.2/email/Charset.pyc
lib/python2.2/email/Charset.pyo
@@ -468,6 +471,55 @@ lib/python2.2/email/base64MIME.pyo
lib/python2.2/email/quopriMIME.py
lib/python2.2/email/quopriMIME.pyc
lib/python2.2/email/quopriMIME.pyo
+lib/python2.2/email/test/__init__.py
+lib/python2.2/email/test/__init__.pyc
+lib/python2.2/email/test/__init__.pyo
+lib/python2.2/email/test/data/PyBanner048.gif
+lib/python2.2/email/test/data/audiotest.au
+lib/python2.2/email/test/data/msg_01.txt
+lib/python2.2/email/test/data/msg_02.txt
+lib/python2.2/email/test/data/msg_03.txt
+lib/python2.2/email/test/data/msg_04.txt
+lib/python2.2/email/test/data/msg_05.txt
+lib/python2.2/email/test/data/msg_06.txt
+lib/python2.2/email/test/data/msg_07.txt
+lib/python2.2/email/test/data/msg_08.txt
+lib/python2.2/email/test/data/msg_09.txt
+lib/python2.2/email/test/data/msg_10.txt
+lib/python2.2/email/test/data/msg_11.txt
+lib/python2.2/email/test/data/msg_12.txt
+lib/python2.2/email/test/data/msg_13.txt
+lib/python2.2/email/test/data/msg_14.txt
+lib/python2.2/email/test/data/msg_15.txt
+lib/python2.2/email/test/data/msg_16.txt
+lib/python2.2/email/test/data/msg_17.txt
+lib/python2.2/email/test/data/msg_18.txt
+lib/python2.2/email/test/data/msg_19.txt
+lib/python2.2/email/test/data/msg_20.txt
+lib/python2.2/email/test/data/msg_21.txt
+lib/python2.2/email/test/data/msg_22.txt
+lib/python2.2/email/test/data/msg_23.txt
+lib/python2.2/email/test/data/msg_24.txt
+lib/python2.2/email/test/data/msg_25.txt
+lib/python2.2/email/test/data/msg_26.txt
+lib/python2.2/email/test/data/msg_27.txt
+lib/python2.2/email/test/data/msg_28.txt
+lib/python2.2/email/test/data/msg_29.txt
+lib/python2.2/email/test/data/msg_30.txt
+lib/python2.2/email/test/data/msg_31.txt
+lib/python2.2/email/test/data/msg_32.txt
+lib/python2.2/email/test/data/msg_33.txt
+lib/python2.2/email/test/data/msg_34.txt
+lib/python2.2/email/test/data/msg_35.txt
+lib/python2.2/email/test/test_email.py
+lib/python2.2/email/test/test_email.pyc
+lib/python2.2/email/test/test_email.pyo
+lib/python2.2/email/test/test_email_codecs.py
+lib/python2.2/email/test/test_email_codecs.pyc
+lib/python2.2/email/test/test_email_codecs.pyo
+lib/python2.2/email/test/test_email_torture.py
+lib/python2.2/email/test/test_email_torture.pyc
+lib/python2.2/email/test/test_email_torture.pyo
lib/python2.2/encodings/__init__.py
lib/python2.2/encodings/__init__.pyc
lib/python2.2/encodings/__init__.pyo
@@ -627,6 +679,9 @@ lib/python2.2/encodings/iso8859_9.pyo
lib/python2.2/encodings/koi8_r.py
lib/python2.2/encodings/koi8_r.pyc
lib/python2.2/encodings/koi8_r.pyo
+lib/python2.2/encodings/koi8_u.py
+lib/python2.2/encodings/koi8_u.pyc
+lib/python2.2/encodings/koi8_u.pyo
lib/python2.2/encodings/latin_1.py
lib/python2.2/encodings/latin_1.pyc
lib/python2.2/encodings/latin_1.pyo
@@ -1177,7 +1232,6 @@ lib/python2.2/test/greyrgb.uue
lib/python2.2/test/output/test_MimeWriter
lib/python2.2/test/output/test_asynchat
lib/python2.2/test/output/test_augassign
-lib/python2.2/test/output/test_bastion
lib/python2.2/test/output/test_binascii
lib/python2.2/test/output/test_builtin
lib/python2.2/test/output/test_cfgparser
diff --git a/lang/python22/PLIST.common_end b/lang/python22/PLIST.common_end
index cb0a08791e2..0917fb69f31 100644
--- a/lang/python22/PLIST.common_end
+++ b/lang/python22/PLIST.common_end
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common_end,v 1.1 2002/09/24 18:06:24 tsarna Exp $
+@comment $NetBSD: PLIST.common_end,v 1.2 2003/06/06 17:31:18 drochner Exp $
@dirrm lib/python2.2/xml/sax
@dirrm lib/python2.2/xml/parsers
@dirrm lib/python2.2/xml/dom
@@ -13,6 +13,8 @@
@dirrm lib/python2.2/lib-dynload
@dirrm lib/python2.2/hotshot
@dirrm lib/python2.2/encodings
+@dirrm lib/python2.2/email/test/data
+@dirrm lib/python2.2/email/test
@dirrm lib/python2.2/email
@dirrm lib/python2.2/distutils/command
@dirrm lib/python2.2/distutils
diff --git a/lang/python22/distinfo b/lang/python22/distinfo
index e6828029202..439d083673b 100644
--- a/lang/python22/distinfo
+++ b/lang/python22/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.9 2003/04/08 18:33:00 drochner Exp $
+$NetBSD: distinfo,v 1.10 2003/06/06 17:31:18 drochner Exp $
-SHA1 (Python-2.2.2.tgz) = 52e5dc6273c83973f8fc92a7f19c15f97e59fc0e
-Size (Python-2.2.2.tgz) = 6669400 bytes
-SHA1 (patch-aa) = b6320ac24c1924d6e7924b6f4d6a42d146e2e8ab
+SHA1 (Python-2.2.3.tgz) = 177d587e77e0eaa14131ab0d0d0b470777de4400
+Size (Python-2.2.3.tgz) = 6709556 bytes
+SHA1 (patch-aa) = 325c94dfd73c7c85085f32b39990370d4053f375
SHA1 (patch-ab) = aa06824d9f595a24aaddc96c83f31646f522ab09
SHA1 (patch-ae) = aefeec78e25631a6e9e2aa047dce12c9c522715e
SHA1 (patch-af) = a2b23859941766319f638e40c49b5af3f504ef52
+SHA1 (patch-ai) = 02f530a08fd8b61a696ae43ddabd7e86e4af7727
SHA1 (patch-bb) = 238f713b049fe2d9cd7e1142dfd0d8c32a53982e
diff --git a/lang/python22/patches/patch-aa b/lang/python22/patches/patch-aa
index de52445379a..22592bad252 100644
--- a/lang/python22/patches/patch-aa
+++ b/lang/python22/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
+$NetBSD: patch-aa,v 1.7 2003/06/06 17:31:19 drochner Exp $
---- setup.py.orig Tue Mar 26 08:43:04 2002
-+++ setup.py Tue Sep 24 12:30:40 2002
-@@ -197,11 +197,15 @@
+--- setup.py.orig 2003-05-22 19:36:54.000000000 +0200
++++ setup.py 2003-06-02 18:58:56.000000000 +0200
+@@ -210,11 +210,15 @@
return platform
def detect_modules(self):
@@ -23,7 +23,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
try:
have_unicode = unicode
-@@ -261,7 +265,7 @@
+@@ -274,7 +278,7 @@
if have_unicode:
exts.append( Extension('unicodedata', ['unicodedata.c']) )
# access to ISO C locale support
@@ -32,7 +32,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
# Modules with some UNIX dependencies -- on by default:
# (If you have a really backward UNIX, select and socket may not be
-@@ -319,16 +323,16 @@
+@@ -330,16 +334,16 @@
# These represent audio samples or images as strings:
# Disabled on 64-bit platforms
@@ -54,7 +54,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
readline_libs = ['readline']
if self.compiler.find_library_file(lib_dirs,
'ncurses'):
-@@ -352,14 +356,10 @@
+@@ -363,14 +367,10 @@
# socket(2)
# Detect SSL support for the socket module
ssl_incs = find_file('openssl/ssl.h', inc_dirs,
@@ -69,9 +69,9 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
- ] )
+ [] )
- if (ssl_incs is not None and
- ssl_libs is not None):
-@@ -390,9 +390,9 @@
+ if ssl_incs is not None:
+ krb5_h = find_file('krb5.h', inc_dirs,
+@@ -413,9 +413,9 @@
exts.append( Extension('dbm', ['dbmmodule.c']) )
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
@@ -84,7 +84,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
# Berkeley DB interface.
#
-@@ -446,9 +446,9 @@
+@@ -469,9 +469,9 @@
# FTP archive sites. One URL for it is:
# ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
@@ -97,7 +97,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
# Unix-only modules
-@@ -475,8 +475,8 @@
+@@ -498,8 +498,8 @@
if (self.compiler.find_library_file(lib_dirs, 'ncurses')):
curses_libs = ['ncurses']
@@ -108,7 +108,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
elif (self.compiler.find_library_file(lib_dirs, 'curses')
and platform != 'darwin'):
# OSX has an old Berkeley curses, not good enough for
-@@ -486,8 +486,8 @@
+@@ -509,8 +509,8 @@
else:
curses_libs = ['curses', 'termcap']
@@ -119,7 +119,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
# If the curses module is enabled, check for the panel module
if (module_enabled(exts, '_curses') and
-@@ -566,11 +566,11 @@
+@@ -581,11 +581,11 @@
else:
expat_incs = find_file('xmlparse.h', inc_dirs, [])
@@ -136,7 +136,7 @@ $NetBSD: patch-aa,v 1.6 2002/09/24 18:06:26 tsarna Exp $
# Platform-specific libraries
if platform == 'linux2':
-@@ -793,7 +793,7 @@
+@@ -808,7 +808,7 @@
ext_modules=[Extension('struct', ['structmodule.c'])],
# Scripts to install
diff --git a/lang/python22/patches/patch-ai b/lang/python22/patches/patch-ai
new file mode 100644
index 00000000000..1e8546bb871
--- /dev/null
+++ b/lang/python22/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2003/06/06 17:31:19 drochner Exp $
+
+--- Makefile.pre.in.orig 2003-06-06 18:44:05.000000000 +0200
++++ Makefile.pre.in 2003-06-06 18:45:02.000000000 +0200
+@@ -294,7 +294,7 @@
+ $(BUILDPYTHON): Modules/$(MAINOBJ) $(LDLIBRARY)
+ $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
+ Modules/$(MAINOBJ) \
+- $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
++ $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) ${LINK_ALL_LIBGCC_HACK}
+
+ platform: $(BUILDPYTHON)
+ ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform