Up to [cvs.NetBSD.org] / pkgsrc / lang / python24 / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
Fix build on SunOS. Teach configure about SunOS 5.11, preventing some pyconfig.h weirdness.
Update to 2.4.4: We are pleased to announce the release of Python 2.4.4 (FINAL), a bugfix release of Python 2.4, on October 18, 2006. Important: 2.4.4 includes a security fix (PSF-2006-001) for the repr() of unicode strings in wide unicode builds (UCS-4) [does not affect pkgsrc] Python 2.4 is now in bugfix-only mode; no new features are being added. At least 80 bugs have been squished since Python 2.4.3, including a number of bugs and potential bugs found by with the Coverity and Klocwork static analysis tools. We'd like to offer our thanks to both these firms for making this available for open source projects - see their websites if you're interested.
Fix build on FreeBSD.
update python24 to 2.4.3 Python 2.4 is now in bugfix-only mode, no new features are being added. At least 50 bugs have been squashed since Python 2.4.2, including a number of bugs and potential bugs found by Coverity.
Fix module compilation / libpython build on Darwin. This enables modules not part of the std. Python install to work again. Secondly, add a patch from Christoph Ludwig ( http://sourceforge.net/tracker/?func=detail&aid=1324762&group_id=5470&atid=305470 ) which contains the following changes (from the SourceForge post): 1) The configure option --with-cxx is renamed --with-cxx-main. This was done to avoid surprising the user by the changed meaning. Furthermore, it is now possible that CXX has a different value than provided by --with-cxx-main, so the old name would have been confusing. 2) The compiler used to translate python's main() function is stored in the configure / Makefile variable MAINCC. By default, MAINCC=$(CC). If --with-cxx-main is given (without an appended compiler name), then MAINCC=$(CXX). If --with-cxx-main=<compiler> is on the configure command line, then MAINCC=<compiler>. Additionally, configure sets CXX=<compiler> unless CXX was already set on the configure command line. 3) The command used to link the python executable is (as before) stored in LINKCC. By default, LINKCC='$(PURIFY) $(MAINCC)', i.e. the linker front-end is the compiler used to translate main(). If necessary, LINKCC can be set on the configure command line in which case it won't be altered. 4) If CXX is not set by the user (on the command line or via --with-cxx-main), then configure tries several likely C++ compiler names. CXX is assigned the first name that refers to a callable program in the system. (CXX is set even if python is built with a C compiler only, so distutils can build C++ extensions.) 5) Modules/ccpython.cc is no longer used and can be removed.
Update to Python 2.4.2 Python 2.4.2 is a bugfix release of Python 2.4 - Python 2.4 is now in bugfix-only mode, no new features are being added. More than 60 bugs have been squashed since Python 2.4.1, including bugs that prevented Python working properly on 64 bit AIX and HP/UX. For a detailed list of changes see: http://python.org/2.4.2/NEWS.html
Pullup ticket 727 - requested by D'Arcy J.M. Cain build fix for python24 modules Revisions pulled up: - pkgsrc/lang/python24/Makefile 1.11 - pkgsrc/lang/python24/distinfo 1.13 - pkgsrc/lang/python24/patches/patch-al 1.7 Module Name: pkgsrc Committed By: darcy Date: Wed Aug 31 12:13:03 UTC 2005 Modified Files: pkgsrc/lang/python24: distinfo pkgsrc/lang/python24/patches: patch-al Log Message: Fix problem where LDFLAGS is not being expanded on the command line. Patch supplied by KISHIMOTO, Makoto <ksmakoto (you know what ) dd.iij4u.or.jp> Closes PR 31027 --- Module Name: pkgsrc Committed By: darcy Date: Thu Sep 1 13:14:35 UTC 2005 Modified Files: pkgsrc/lang/python24: Makefile Log Message: Bump PKGREVISION for change made to patches/patch-al in revision 1.7 as suggested by Lubomir Sedlacik in discussions on releng-pkgsrc and pullup request 727.
Fix problem where LDFLAGS is not being expanded on the command line. Patch supplied by KISHIMOTO, Makoto <ksmakoto (you know what ) dd.iij4u.or.jp> Closes PR 31027
update to Python 2.4.1
Highlights of this new release include:
- Bug fixes. According to the release notes, several dozen bugs
have been fixed, including a fix for the SimpleXMLRPCServer
security issue (PSF-2005-001).
Also add a patch by Joerg Sonnenberger to add basic support
for DragonFly BSD.
For a detailed list of changes see:
http://python.org/2.4.1/NEWS.html
Pull in first-stab Interix support from lang/python23.
Honor LDFLAGS when building shared libraries on Linux. Previously,
python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was
used.
fix missed from previous: Darwin 7.x doesn't appear to want the "-u PyMac_Error" when linking the shared library.
Darwin build fixes: - ignore poll() - needs dlopen.buildlink3.mk - pass -fPIC -fno-common to CC for objects being linked into a shared library
initial import of Python 2.4 Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package has been compiled without support for threads.
Initial revision