15 Commits

Author SHA1 Message Date
fgsch
0a79ab1fc2 Security fix for CVE-2011-1521.
prodded and ok jasper
2011-05-07 09:36:17 +00:00
kili
a08d197254 Whenever a package installs a script using #!/usr/bin/env, god kills
a kitten.

Let pydoc${VERSION} use #!${LOCALBASE}/bin/python${VERSION} instead
of $!/usr/bin/env python${VERSION}.

ok rpointel@, sthen@ (after some discussion wether post-build is
the proper target for this or not)
2011-04-12 19:28:13 +00:00
sthen
1745732377 use tk.port.mk and move -tkinter to a more recent version of Tcl/Tk.
reads fine to fgsch@
2010-11-15 20:55:24 +00:00
djm
d71b9a7269 Updates and garbage collect all three Python ports:
2.4.4 => 2.4.8
    2.5.2 => 2.5.4
    2.6 => 2.6.1

Python 2.4 and 2.5 lose their build knobs to match 2.6.

Removes no longer needed Python 2.5 security patches backported
from the release25-maint SVN branch.

Remove the -bz2 subpackage from all three versions. It is silly
to make a subpackage to avoid depending on something tiny and
compatibly licensed.

Python 2.4 and 2.5 lose their -expat subpackages; expat has been
in base for some time.

Python 2.5 loses its sqlite subpackge. Again, sqlite is tiny,
compatibly licensed and is depended upon by more and more
applications. This brings it into line with the 2.6 version.

Rework all three version's handling of setup.py. Rather than regex
replacing LOCALBASE and X11BASE into setup.py post-configure, these
are passed in though environment variables. Will save hours of
frustrated cursing familiar to anyone who has accidently used the
update-patches target after configure and had to go back and redo
all the substitutions.

Rework the patching of setup.py for 2.4 and 2.5 to be more like
what we do for 2.6. I.e. keep the diff minimal and avoid deleting
huge blocks of code, so the diff has a chance of applying without
massive hand-editing each patch release.

Fix .py paths in installed .pyc files (patch from eric@)

feedback from several, particularly eric@, ajacoutot@ and Ingo
Schwarze; "get it in" ajacoutot@
2009-01-01 21:03:27 +00:00
bernd
ae1bee24e7 Use xenocara expat. 2007-04-28 10:06:24 +00:00
steven
3ccd55cafa - update to python 2.3.6
- build python with CXX, fixes problems with extensions that use CXX
  such as the py-wxWidgets problem spotted by john.danks at gmail.com

from alek@ some time ago
2007-01-10 16:57:56 +00:00
alek
5a61fb12aa Update to 2.4.4; add bz2 subpacakge; switch to setup.py; redo PLISTs 2006-11-01 20:38:37 +00:00
steven
b152800ccb unbreak python build on 4.0, bump PKGNAMEs.
"fine" sturm@, "ok if it works" alek@
2006-07-28 22:36:41 +00:00
alek
b48cf21d31 Update to 2.4.3 2006-04-18 17:29:35 +00:00
alek
407c9d0193 Fix build here as well 2006-01-22 11:34:45 +00:00
alek
135879e05a - Better RUN_DEPENDS for subpackages
- Use SHARED_LIBS
- Bump PKGNAMEs

spotted by naddy@ and sturm@
SHARED_LIBS tips from espie@
2005-12-27 19:41:21 +00:00
alek
6f511ff03f - Update to 2.4.2
- Enable -expat subpackage base on included libexpat sources
2005-12-17 12:33:00 +00:00
fgsch
7f59f4b5cc fix bug #1019808 and bump package. maintainer@ ok. 2005-10-12 02:41:41 +00:00
jolan
8f70db9040 3.8-beta still has the "defining _XOPEN_SOURCE breaks shit" bug so
extend the python workaround to include 3.8 and bump pkgnames
2005-08-10 02:14:13 +00:00
alek
65a7f47309 Import python 2.4
Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax.

tested by djm@ and mpech@ (but more tests are needed!)
mbalmer@ and xsa@ want it to go in
2005-06-07 01:12:54 +00:00