Commit Graph

82 Commits

Author SHA1 Message Date
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
djm
f1a641c815 python-2.5.2
tested with a full ports build by naddy@ ok pvalchev@
2008-02-27 00:30:47 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
steven
acc66832c1 build bsddb interface only with python 2.5, since older python versions
ship a bsddb that doesn't work with berkeley db > 4.2.

discussed with sturm and sthen
2007-10-30 13:35:18 +00:00
steven
e68b25b9ba db.=4 -> db.>=4 in preparation of db4 update
ok sthen@
2007-10-25 21:05:33 +00:00
espie
9115667e68 hidden build depend on subversion, if it's around 2007-10-20 06:55:54 +00:00
alek
813e72e442 AUTOCONF_VERSION is supposed to be overwritten for particular version of python so replace = with ?= in Makefile.inc to make it possible; ok sturm@, steven@ 2007-09-26 14:02:23 +00:00
merdely
f525d52359 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN 2007-09-16 00:27:05 +00:00
jasper
d0646ffd3d fix WANTLIB/LIB_DEPENDS
ok alek@ mbalmer@
2007-05-07 15:43:33 +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
steven
b1f5c9716e new MULTI_PACKAGES 2006-11-24 20:48:23 +00:00
steven
3fa7fd5027 USE_X11 2006-11-13 11:20:24 +00:00
djm
3f01d8e28d fix compilation on ARM, where the ctypes module is not supported by
moving it into a new PFRAG; feedback and ok alek@
2006-11-08 19:00:19 +00:00
alek
6633bb58a6 Switch from Setup files to setup.py; add new subpackages 2006-11-01 21:11:55 +00:00
alek
093bb02619 SHARED_ONLY, part one 2006-10-10 19:08:06 +00:00
alek
969f8bd646 Set PKG_ARGS while setting NO64BIT 2006-10-02 20:29:40 +00:00
alek
9058c0cc43 Zap no_tests and no_tools flavors. Packages -tools and -tests don't
depend on other packages besides main python package so there is no reason
to not to build them by default.
2006-10-02 18:54:09 +00:00
espie
d39a581bf9 more new lib specs 2006-08-03 19:56:08 +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
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
b7726698e9 - Add no_tests and no_tools FLAVORS, just like it's mentioned in DESCR file
- Better RUN_DEPENDS for subpackages
- Build expat subpackage for all versions of python
2005-12-17 12:45:39 +00:00
alek
0e5c057f82 Fix MASTER_SITES 2005-11-11 09:45:29 +00:00