head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.44 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.42 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.40 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.38 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.36 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.34 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.32 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.30 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.28 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.26 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.24 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.22 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.20 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.18 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.16 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.14 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.12 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.10 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.8 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.6 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2005.01.23.20.41.47; author recht; state dead; branches; next 1.4; 1.4 date 2004.11.28.13.33.20; author recht; state Exp; branches; next 1.3; 1.3 date 2004.01.26.12.11.57; author grant; state Exp; branches; next 1.2; 1.2 date 2003.12.08.21.13.56; author recht; state Exp; branches; next 1.1; 1.1 date 2003.08.04.08.29.32; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.08.04.08.29.32; author drochner; state Exp; branches; next ; desc @@ 1.5 log @Build Python with thread support by default and turn the existing python*-pth packages into meta-packages which will install the non-pth packages. Bump PKGREVISIONs on the non-pth versions to propagate the thread change, but leave the *-pth versions untouched to not affect existing installations. Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles. @ text @$NetBSD: patch-ah,v 1.4 2004/11/28 13:33:20 recht Exp $ --- Makefile.pre.in.orig Tue Nov 18 20:54:00 2003 +++ Makefile.pre.in Thu Nov 11 18:54:35 2004 @@@@ -56,7 +56,7 @@@@ OPT= @@OPT@@ BASECFLAGS= @@BASECFLAGS@@ CFLAGS= $(BASECFLAGS) $(OPT) -CPPFLAGS= -I. -I$(srcdir)/Include +CPPFLAGS+= @@CPPFLAGS@@ -I. -I$(srcdir)/Include LDFLAGS= @@LDFLAGS@@ LDLAST= @@LDLAST@@ SGI_ABI= @@SGI_ABI@@ @@@@ -305,7 +305,7 @@@@ $(BUILDPYTHON): Modules/$(MAINOBJ) $(LIBRARY) $(LDLIBRARY) $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@@ \ Modules/$(MAINOBJ) \ - $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) + $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) ${LINK_ALL_LIBGCC_HACK} platform: $(BUILDPYTHON) $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform @@@@ -345,7 +345,7 @@@@ libpython$(VERSION).so: $(LIBRARY_OBJS) if test $(INSTSONAME) != $(LDLIBRARY); then \ - $(LDSHARED) -Wl,-soname=$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ + $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ $(LN) -f $(INSTSONAME) $@@; \ else\ $(LDSHARED) -o $@@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ @@@@ -354,6 +354,9 @@@@ libpython$(VERSION).sl: $(LIBRARY_OBJS) $(LDSHARED) -o $@@ $(LIBRARY_OBJS) $(LIBC) $(LIBM) +libpython$(VERSION).dylib: $(LIBRARY_OBJS) + $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@@ -current_version 2.3.4 -compatibility_version 2.3 -o $@@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) + # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary # minimal framework (not including the Lib directory and such) in the current # directory. @@@@ -613,7 +616,12 @@@@ (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \ fi \ fi; \ - else true; \ + else \ + if test -f libpython$(VERSION).dylib; then \ + $(INSTALL_SHARED) libpython$(VERSION).dylib $(DESTDIR)$(LIBDIR)/libpython$(VERSION).dylib; \ + else \ + true; \ + fi \ fi # Install the manual page @ 1.4 log @Add patches from darwinports/fink to make the posixmodule work on Darwin/ OSX and build the libpython as dynamic library. While at it also fix the PLIST for Darwin/OSX. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @use -h instead of -soname= when creating shared objects to appease Solaris linker. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 2004/01/26 12:10:24 grant Exp $ d3 3 a5 3 --- Makefile.pre.in.orig 2003-11-19 06:54:00.000000000 +1100 +++ Makefile.pre.in @@@@ -56,7 +56,7 @@@@ MAKESETUP= $(srcdir)/Modules/makese d10 1 a10 1 +CPPFLAGS+= -I. -I$(srcdir)/Include d14 1 a14 1 @@@@ -305,7 +305,7 @@@@ all: $(BUILDPYTHON) oldsharedmods share d23 1 a23 1 @@@@ -345,7 +345,7 @@@@ $(LIBRARY): $(LIBRARY_OBJS) d32 24 @ 1.2 log @Update to Python 2.3.2 Changes in Python: Quite a few fixes.. See NEWS for details. Changes in the pkg: - add FreeBSD patches from the FreeBSD port - add fix for a fatal bug in type's GC handling causes segfaults (via FreeBSD port) see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u - always build the db 1.85 module (on all platforms) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.pre.in.orig 2003-09-20 12:50:28.000000000 +0200 d23 9 @ 1.1 log @Initial revision @ text @d3 17 a19 4 --- Include/patchlevel.h.orig 2003-08-03 13:47:59.000000000 +0200 +++ Include/patchlevel.h 2003-08-03 13:48:20.000000000 +0200 @@@@ -26,7 +26,7 @@@@ #define PY_RELEASE_SERIAL 0 d21 2 a22 6 /* Version as a string */ -#define PY_VERSION "2.3" +#define PY_VERSION "2p3" /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */ @ 1.1.1.1 log @Python-2.3 with thread support. Tested on -current/i386 only so far (this means, GNU pth support is untested). Suffers from stack shortage problems, thus doesn't get far in its selftest suite. @ text @@