head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.16 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.10 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.8 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.6 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.4 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.2 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2008.04.25.16.11.13; author tnn; state dead; branches; next 1.3; 1.3 date 2005.11.16.19.18.59; author joerg; state Exp; branches; next 1.2; 1.2 date 2002.04.15.12.13.39; author drochner; state dead; branches; next 1.1; 1.1 date 2002.03.22.15.20.24; author drochner; state Exp; branches; next ; desc @@ 1.4 log @De-orbit support for python 2.0 and python 2.2 under the "three major releases is enough" rule of thumb. (python 2.3 was released 5 years ago.) Keep python 1.5 and 2.1 though, because there are a handful of packages that still need them. @ text @$NetBSD: patch-ac,v 1.3 2005/11/16 19:18:59 joerg Exp $ --- Modules/makesetup.orig 2001-06-02 08:16:02.000000000 +0200 +++ Modules/makesetup @@@@ -163,6 +163,7 @@@@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | -rpath) libs="$libs $arg"; skip=libs;; --rpath) libs="$libs $arg"; skip=libs;; -[A-Zl]*) libs="$libs $arg";; + -pthread) libs="$libs $arg";; *.a) libs="$libs $arg";; *.so) libs="$libs $arg";; *.sl) libs="$libs $arg";; @ 1.3 log @Fix Python's makesetup script to treat -pthread as linker flag. This is needed for databases/py-psycopg at least to compile properly. Since the installed version changed, bump revision. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to 2.2.1 Changes: -Added new builtin function bool() and new builtin constants True and False to ease backporting of code developed for Python 2.3. In 2.2, bool() returns 1 or 0, True == 1, and False == 0. -C API: A type can now inherit its metatype from its base type. -Fixes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2002/03/22 15:20:24 drochner Exp $ d3 10 a12 14 --- Objects/floatobject.c.orig Tue Dec 11 21:31:34 2001 +++ Objects/floatobject.c Fri Mar 22 15:21:16 2002 @@@@ -577,9 +577,9 @@@@ PyFPE_START_PROTECT("pow", return NULL) ix = pow(iv, iw); PyFPE_END_PROTECT(ix) - Py_SET_ERANGE_IF_OVERFLOW(ix); + Py_ADJUST_ERANGE1(ix); if (errno != 0) { - /* XXX could it be another type of error? */ + assert(errno == ERANGE); PyErr_SetFromErrno(PyExc_OverflowError); return NULL; } @ 1.1 log @-remove hardwired "/usr/local" and "/usr/contrib" library search paths, as suggested by Johnny Lam -don't try to build the "locale" module - it doesn't work anyway -pull up a fix from Python CVS to get more consistent math exceptions (eg pow(1e-200,2) vs. math.pow(1e-200,2)) This will be part of 2.2.1. @ text @d1 1 a1 1 $NetBSD$ @