Commit Graph

285 Commits

Author SHA1 Message Date
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
jasper
7d16b66d27 - more BROKEN-$ARCH 2010-04-15 18:35:02 +00:00
ajacoutot
ce7c969358 Stupid poor blank lines, stupid poor blank lines... 2010-04-15 14:58:24 +00:00
ajacoutot
5985d2ef24 Consistency: remove the 1, 2 or even 3 empty blank lines.
sthen@ agrees
2010-04-15 14:11:01 +00:00
phessler
2702a8279d python2.5 needs a patch to libffi/configure in order to detect what
platform loongson is.  Unbreak for mips64el.

OK jasper@
(reminder, ports is not fully open, do not commit without specific permission)
2010-02-28 15:27:37 +00:00
espie
d6818103c8 the egg framework is fucked up (modifies stuff in WRKBUILD during install),
so work around by tricking it to write into WRKINST through a symlink.

keep this here, so that affected ports need minimal modifications, and we
can work out a better fix long term.

Agreed with wcmaier...
2010-02-27 17:52:18 +00:00
phessler
cd7d60e242 Allow Python to build on loongson. Bring in some libffi fixes, inspired
by jasper@'s fixes to the libffi port.

Mark mips64 (aka, sgi) as BROKEN, as the build fails.  We'll look closer
at this after unlock.

OK jasper@

ports is unlocked for a while only for those who have been informed.
2010-02-25 11:02:39 +00:00
jasper
228964a8d2 - extend archtecture tests for mips64el
ok naddy@ phessler@
2010-02-09 12:23:59 +00:00
espie
100f0c7870 SUBDIR += is wrong: it means the makefile will pick up SUBDIR from env, thus
breaking cd /usr/ports && SUBDIR=some/path make something for
category makefiles. While there, also put spaces around += uniformously.
okay naddy@, jasper@
2010-02-01 17:00:12 +00:00
espie
4fb9f48443 fix update from OpenBSD 4.5 (missed @pkgpath markers at the time
-bz2, -expat, -sqlite were removed)
2010-01-20 08:15:21 +00:00
jasper
a7f58dc602 - minor tweaks for mips64, none of the versions fully build, but at least
they're somewhat getting there.
- with the added patch, 2.5 gets as far as 2.6, and then fails terribly.

ok djm@ (MAINTAINER)
2009-11-22 22:53:19 +00:00
sthen
7a946ee1b1 fix @conflict lines; unbreaks pkg_add -u if you have python-foo-2.6
installed (with the new version of pkg_add). ok djm@.
2009-10-27 23:35:09 +00:00
djm
4a2084109b update to maintenance release 2.6.3, relnotes at:
http://www.python.org/download/releases/2.6.3/NEWS.txt

NB. regress tests are known to fail if py-xml is installed. Try to spend
less time than I did in figuring this out.
2009-10-16 09:38:20 +00:00
ajacoutot
27263b83d9 Unbreak packaging of python2.6 on powerpc; ctypes module will need more
work.

ok djm@
2009-09-22 21:31:00 +00:00
kili
6b51812b24 WANTLIB changes after xcb addition and bump.
For some unknown reason, I forgot to commit lang/*
this morning.
2009-08-10 17:31:07 +00:00
sthen
43295534c2 Add a comment noting that x11/gtk+2 hardcodes the python version;
ajacoutot@ agrees with doing it this way.
2009-08-08 21:58:10 +00:00
jolan
b850b90361 avoid conflict in -tools subpackage 2009-06-25 01:49:54 +00:00