104 Commits

Author SHA1 Message Date
fgsch
28ab4132a5 - Merge ctypes fragment into main now that libffi is fixed
- Remove uneeded diff after the time_t change
- Clean things a bit
- Bump revisions

tested by rpointel@, sthen@ and myself. ok by them and jasper@
2013-10-27 18:32:55 +00:00
fgsch
618f6d7e09 GC python 2.5. Thanks to zhuk who made this possible. 2013-06-04 08:02:20 +00:00
ajacoutot
832f214f93 3.2 -> 3.3 2013-05-30 14:46:31 +00:00
fgsch
bbdbab0410 Add missing dependencies and sync wantlib.
prompted by and ok ajacoutot@
2013-05-22 12:36:03 +00:00
fgsch
f2cb915b21 - update what tests should be skipped
- add missing dependency on archivers/xz
- temporarily fix timeval's tv_sec handling
- bump

ajacoutot@ jasper@ sthen@ ok as part of a larger diff.
2013-05-18 04:13:16 +00:00
fgsch
2d8eef9572 remove djm and put rpointel as the maintainer for 2.5 and 2.7 as well.
discussed with djm.
2013-05-07 08:03:42 +00:00
fgsch
7f313b784c - change post-patch to use configure.ac
- set default autoconf version to 2.69
- explicitly set tk version to 8.5. prompted by sthen.
2013-04-28 00:49:11 +00:00
fgsch
1f62a58148 Update python 2.7 to 2.7.4.
This is a slighly different version that I sent that includes an updated
kqueue diff that works with python 2 and 3 and puts test_bsddb and
test_bsddb3 back on the skip list as they're not built outside amd64
and i386.

Only 2 tests are known to fail: test_kqueue (broken) and test_threading
(failing on 2.7.3, under investigation but likely broken). If something
else fails please send your test.log.

Tested on a bulk by landry, sparc64 by brad, ppc gonzalo and amd64 by me.
2013-04-13 22:31:42 +00:00
bcallah
28e3ca351b Fix a hardcoded INSTSONAME, which happens to be wrong for Python 2.7
Bump everyone's REVISION.
ok sthen@
2013-03-31 21:35:26 +00:00
sthen
7b10e7c633 PERMIT_* 2013-03-11 12:27:53 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
ajacoutot
c6cc5cfb1b Don't overwrite THREAD_STACK_SIZE but use the default.
ok fgsch@
2012-05-09 06:21:12 +00:00
rpointel
58f0310490 Update Python 2.7.2 to 2.7.3.
ok mpi@, gonzalo@. tested in a bulk build by landry@.
2012-04-27 08:18:59 +00:00
espie
4ed7caa04f first pass at handling sqlite3 move 2012-04-23 17:15:17 +00:00
fgsch
7cf02618d6 RIP python2.4.
jasper@ ok
2011-12-20 13:08:06 +00:00
espie
154a57cb29 PROPERTIES is now available from Makefile.inc, update infra/ 2011-12-08 08:17:28 +00:00
naddy
7011821d4e rather than trying to list all LP64 architectures, get this from
bsd.port.arch.mk; ok espie@ djm@
2011-12-07 15:14:22 +00:00
espie
56902f8f20 fix build: prevent infinite recursion thru python.
also annotate gamin for bootstrap property, and mark haddock,no_deps as
a "real flavor", since it's only used for bootstrap anyways AND significantly
changes the build.
2011-10-18 06:46:24 +00:00
fgsch
1d041aca14 python 2.6 is not longer but comment still valid for 2.7 so update accordingly. 2011-09-28 16:59:33 +00:00
sthen
119b2307f8 let Python use PKGSPEC infrastructure, discussed with and variable name
suggestion from fgsch@
2011-09-27 21:27:36 +00:00
fgsch
f07def33ab Merge in support for python3.
remi@ sthen@ ok
2011-09-21 14:37:28 +00:00
rpointel
a03b19cfef Use system libffi on Python 2.5 and 2.7 (except on arm).
ok jasper@ landry@ sthen@.
2011-09-06 20:58:08 +00:00
naddy
97797cc0a0 fix build after after 4.9->5.0; with help from rpointel@ 2011-07-18 15:32:18 +00:00
sthen
17b5e65888 Replace a dead MASTER_SITES mirror with a working one. 2011-07-16 20:22:48 +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
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
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
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
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +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
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
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
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
jolan
b850b90361 avoid conflict in -tools subpackage 2009-06-25 01:49:54 +00:00
espie
f4e4ac6742 a few spec fixes and assorted pkg bumps, more to come. 2009-03-09 23:09:19 +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
djm
9861d97b91 Prepare for Python-2.6
Flip default ALL_TARGET to the one that will be used for current
and future (>=2.5) Python releases, move old default down into
2.3 and 2.4 Makefiles

Turn on a verbose retry when regress tests fail; saves messing with
LD_LIBRARY_PATH incantations to get them to rerun

Take maintainership
2008-10-18 11:55:57 +00:00
deanna
fb45a35004 Let 2.5 install python-mode for emacs.
ok mbalmer@
2008-05-10 17:10:24 +00:00