Commit Graph

301 Commits

Author SHA1 Message Date
jasper
ec80e75339 Retire this version of the 2.x family. All ports either use the
default (2.7) or are using an even older version (2.4/2.5) so 2.6 can go.

ok sthen@ rpointel@
2011-07-13 08:03:31 +00:00
jasper
a838548eee fix prev. 2011-07-09 09:43:59 +00:00
jasper
2ecb7aa27e fix, as spotted by nigel taylor 2011-07-08 07:39:37 +00:00
jasper
8037b9b663 missing in prev. 2011-07-07 21:32:58 +00:00
jasper
dcc5448126 recognize openbsd5, may need some more work 2011-07-07 21:32:39 +00:00
sthen
62807b896e unbreak patching, spotted by Nigel Taylor.
as a bonus recognise openbsd 5.3 in regression tests.
bump as this file makes it into the package.
2011-07-07 20:55:05 +00:00
jasper
8f4e6e2aa2 regen 2011-07-06 12:25:29 +00:00
jasper
f7c94b8b34 regen 2011-07-06 12:05:56 +00:00
jasper
58a52e292f - zap a patch that would bork instead of fix the path in pydoc
spotted by frantisek holop
2011-07-06 07:35:16 +00:00
rpointel
201b9f189f Add a patch from Samir Saada (thanks) to correctly build on loongson.
Bump revision. Ok jasper@.
2011-06-13 19:43:59 +00:00
rpointel
f280fddcc0 Switch default to python 2.7.
Discussed and ok from many. Bumps will follow.
"go go go" from jasper@.
2011-06-08 17:28:14 +00:00
rpointel
7b840f9416 Modify patch from fgsch@. Bump revision.
ok sthen@ jasper@
2011-06-08 08:02:54 +00:00
rpointel
ea37821819 Correct the wrong value of LDFLAGS (certain ports will need WANTLIB += ${MODPY_WANTLIB}).
Thanks for fgsch@ for his patch-Modules_selectmodule_c to correct SIGBUS error on sparc64 (test_kqueue.py).

It's time make bulks of Python2.7 on as many archs as we can.

Thanks a lot.

ok sthen@ aja@
2011-05-30 21:11:44 +00:00
jasper
dcd4f22681 Remove python-mode.el, it's now part of the emacs-python package.
It wasn't distributed anymore in the python distfile starting from 2.7 anymore.

Please install the emacs-python pacakge to continue using the functionality.

ok rpointel@
2011-05-23 06:42:02 +00:00
jasper
87723a3ac3 the python-mode.el isn't distributed anymore with python >= 2.7, so remove
this message for now.

discussed with and ok rpointel@
2011-05-22 19:21:24 +00:00
rpointel
cc67cdc9fd add python2.7 to the build.
ok landry@ sthen@
2011-05-15 08:25:45 +00:00
fgsch
b773a0128f Use skipIf and mention the platforms explicitly. 2011-05-08 22:46:19 +00:00
fgsch
0a79ab1fc2 Security fix for CVE-2011-1521.
prodded and ok jasper
2011-05-07 09:36:17 +00:00
fgsch
81bd45496c make the comments more prominent. 2011-05-07 09:35:13 +00:00
fgsch
e7a4d15602 - revert the handling of async callbacks pre 2.7 for the time being. this
fixes the hangs and some other problems and allow us to move further while
  a proper fix is investigated. as a result remove the patches to test_io
  and test_socket, they are ok now.
- remove the distutils diff. it doesn't seem right, nobody really knows why
  it's there and it actually breaks things with this version.
- bump
discussed and ok rpointel martynas sthen djm
2011-05-05 23:25:44 +00:00
rpointel
129e1f459d Removed AUTOCONF_VERSION?= now we have the correct AUTOCONF_VERSION in each version of Python.
From Brad, ok sthen@.
2011-05-03 17:52:04 +00:00
rpointel
ddaac7f6a1 use proper autoconf version, from Brad.
ok sthen@.
2011-05-03 17:48:08 +00:00
fgsch
0f9cb35359 install 2to3 under python2.7-2to3 so it can co-exist with 2.6
rpointel sthen martynas ok.
2011-05-03 17:18:28 +00:00
fgsch
f50c74636c - install 2to3 under python2.6-2to3 so it can co-exist with 2.7
- use right autoconf version
- fix CVE-2011-1521 (2.4 and 2.5 will be handled separately)
- bump
rpointel sthen martynas ok.
2011-05-03 17:17:01 +00:00
fgsch
14d07c603d adjust interpreter path for 2to3 and install it under pythonVERSION-2to3.
discussed with rpointel, rpointel sthen martynas ok.
2011-05-03 17:14:43 +00:00
rpointel
714b3ba354 Added 2 patch to permit to 'make regress' without blocking...
Used @unittest.skip instead of commenting out the test.
Corrected wrong value of LDSHARED in sysconfig, cf http://bugs.python.org/issue10547.
Bump REVISION.
ok landry@ (thanks).
2011-04-26 19:42:31 +00:00
rpointel
eaa3c34823 Import Python 2.7.1.
Thanks a lot to landry@, fgsch@ for feedback.
Need tests before doing this version the default.
2011-04-24 09:31:44 +00:00
rpointel
c25fe689b1 Prepare import of python 2.7.
(Not linked to the build, and not made the default python).
ok landry@, fgsch@.
2011-04-24 09:19:01 +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
espie
be2f93f11d since db/v4 has db->=4,<5 as default, no need to specify it explicitly 2010-11-26 14:50:09 +00:00
espie
f7466761c3 missed some 2010-11-22 09:20:34 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +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
espie
5e243a5257 convert WANTLIB on geo/lang 2010-11-07 19:12:42 +00:00
fgsch
a7fd09db10 Simplify and switch to REVISION.
From Alexandr Shadchin (firstname dot lastname at gmail dot com).
martynas@ ok.
2010-10-28 08:22:11 +00:00
ajacoutot
39407c46c2 Add a MODPY_BIN_ADJ variable for python shebang substitution. It will
automatically change from scripts from using /usr/bin/env python or
/usr/bin/python to using #!${MODPY_BIN} .
Add a MODPY_ADJ_FILES in which you can put the files that are under
${WRKSRC} you want to subtitute the shebang.
e.g.
MODPY_ADJ_FILES= setup.py bin/foobar.py.in


Some input from djm@
"sane idea to me" jasper, ok sthen@
2010-10-26 14:29:26 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
sthen
3b2bbaacc0 Add MODPY_WANTLIB, adjust MODPY_LIB_DEPENDS to new-style LIB_DEPENDS,
update all ports to match. Plists don't change -> no bump.
Looks ok to jasper.
2010-10-24 15:53:55 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
jasper
6e6097e4ac - remove the BROKEN-mips64 markers after miod's recent softfloat commit,
python seems to be working well enough now.
2010-09-22 13:44:12 +00:00
fgsch
64401fc28c - Add a MODPY_JSON var soon to be used by ports requiring simplejson when
built with python versions previous to 2.6.
- Simplify MODPY_BADEGGS.
- Fake setuptools if MODPY_SETUPTOOLS is not present to detect those ports
  that will build regardless but the resulting plist will be different.
Input, tested and ok by many, thanks!
2010-09-16 22:58:19 +00:00
fgsch
42c9e879be Update Python to 2.6.6. Tested by many.
sthen@ ok
2010-09-16 22:36:08 +00:00
fgsch
06cc1c44bb Update WANTLIB after ncurses update. While here remove unneeded pthread-stubs
and xcb from -tkinter.  With help from sthen@
2010-09-16 22:34:08 +00:00
sthen
9a433e21ca When knocking out a MULTI_PACKAGE on some arch, keep listing it in
MULTI_PACKAGES, and add an (ONLY|NOT)_FOR_ARCHS-subpkg=somearch, rather
than changing contents of the MULTI_PACKAGES variable.

Fixes dpb builds on !amd64/i386, because the bsddb package was
knocked out on other arch.

'please unfuck the fucking mess people only testing on i386 and
amd64 did' landry@
2010-09-03 19:20:06 +00:00
fgsch
7306c4d463 Switch default to python 2.6.
Discussed and ok from many. Bumps will follow.
2010-08-30 16:35:02 +00:00
djm
1b319614a9 revert previous; hppa is sick and needs to be fixed first 2010-07-29 08:39:53 +00:00
djm
fcc3b09a49 Move to python-2.6 by default; requested by fgsch@ 2010-07-29 02:17:58 +00:00
sthen
94b1e1eac7 Update Python to 2.6.5, committing on behalf of fgsch@ whose laptop is broken. 2010-07-23 13:56:26 +00:00
ajacoutot
5f48a04970 Add a MODPY_BUILDDEP variable so we can use the python MODULE without
actually needing python. This will allow removal of some hacks in tree.
Remove XXX.

ok sthen@
2010-07-22 10:39:19 +00:00
sthen
02435810cc update the list of ports which hardcode the python version
(subversion and pinot, as well as gtk+2 which is already listed).
2010-07-15 07:55:29 +00:00