Commit Graph

241 Commits

Author SHA1 Message Date
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
djm
78cd2e8e1c python-2.6.2 2009-05-03 22:26:27 +00:00
ajacoutot
22e9ba6d0d Add CONFIGURE_ENV += PYTHON="${MODPY_BIN}"
Lots of python ports already do this, so better factorize. It will also
help mitigate some build breakages when several python versions are
installed.

Related ports cleanup coming in a few...

"looks ok" wcmaier@
"makes sense" sthen@
"no objection"  djm@
2009-04-26 10:49:33 +00:00
sthen
8b1055603f bump for tk; pointed out by jasper@ 2009-03-16 13:18:56 +00:00
espie
f2cea121fb a few deps 2009-03-16 11:40:24 +00:00
espie
4a3813916a A few more python deps, tweak python module to handle tkinter 2009-03-15 13:03:41 +00:00
espie
6936deb3a3 bump for tk 2009-03-14 12:31:15 +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
fgsch
95bf280eb6 No expat dependency for 2.6. djm@ ok. 2008-12-16 06:32:27 +00:00
djm
75b30c5d9f unused for a long time; spotted by fgsch@ 2008-12-16 05:32:20 +00:00
djm
40f2faa1e4 more unused files; spotted by fgsch@ 2008-12-16 05:31:32 +00:00
djm
541153395a the python-2.6 port does not have a sqlite subpackage, so this file
is unused
2008-12-15 22:10:34 +00:00
ajacoutot
3b716fff98 - add MODPY_BIN to SUBST_VARS
"+1" wcmaier_p, "yes please" steven@, "remove python" mbalmer@
2008-10-27 00:02:27 +00:00
steven
45a5036ac6 bump pkgname after maintainer change 2008-10-21 20:13:07 +00:00
djm
e21188af21 python-2.3 => attic 2008-10-19 11:33:50 +00:00
ajacoutot
308c0513a9 - tweak MESSAGE
ok djm@
2008-10-19 07:13:45 +00:00
djm
38f3061a21 out with 2.3
in with 2.6
2008-10-18 12:04:37 +00:00
djm
413ba2dc4a port of Python-2.6, with 100% fewer build knobs!
Thanks to Ian Darwin, Will Maier and Aleksander Piotrowski for feedback
2008-10-18 12:03:56 +00:00
djm
1cc5fcb98c fix slightly borked packaging:
- idle was incorrectly included in the -main package, not the -idle
  subpackage. Move these to where they belong.

- The -main package installed a ${LOCALBASE}/python-config, which
  would conflict with future python versions. Remove this and add
  a MESSAGE suggesting users symlink python-config2.5 to it if
  necessary

- An Emacs .el files was also installed by the -main package, this
  too would conflict with parallel installs of different major
  releases. Move this to the -tools subpackage.

bump PKG_PATCHLEVEL
2008-10-18 12:01:25 +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
djm
04a7186835 The _sha256 and _sha512 modules are not built when Python is built
against OpenSSL 0.9.8 as it includes support for these hashes directly.
Bump pkgname.
Report from Frank Denis
2008-09-06 23:39:57 +00:00
djm
d39c4b92ff Fixes for multiple security vulnerabilities:
CVE-2008-1679 CVE-2008-1721 CVE-2008-1887
        CVE-2008-2316 CVE-2008-3142 CVE-2008-3144

Patches cherrypicked with assistance of val.masutin AT gmail.com and
Toni Mueller.

Tested by sthen@ naddy@ ok pvalchev@
2008-08-06 03:23:31 +00:00
martynas
680c954d11 last round of library bumps due to libc/libm changes. from sthen@
double-checked & ok naddy@, go for it pval@
2008-07-30 19:47:09 +00:00
sthen
d18eda55cb bump libpython2.4 and PKGNAME for isinf() 2008-07-25 19:38:46 +00:00
sthen
fbd63db784 bump libpython2.5 and PKGNAME for isinf()
ok espie
2008-07-25 19:32:21 +00:00
djm
76c76e5029 Fix crash in readline module when using completion caused by bad
implicit prototype of legacy completion_matches function.
Report and fix from henry AT precheur.org
2008-06-30 00:29:32 +00:00
wcmaier
1dc7873634 Prepend MODPY_* variables in SUBST_VARS.
Previously, when eg MODPY_VERSION is a substring of a variable added
to SUBST_VARS in a port's Makefile, pain on update-plist can ensue.
Makes updates on www/py-django more fun. Tests and feedback from
merdely@ and Darrin Chandler; thanks!

ok steven@, "if it doesn't break anything..." fgsch@
2008-06-10 15:01:49 +00:00
pvalchev
bb0a677b47 -mieee is now default on alpha 2008-06-10 05:11:21 +00:00
espie
b70891310f fix intermitent race condition, no reason for ./Lib/plat-openbsd4
to match $(srcdir)/Lib/plat-openbsd4 except by accident...
2008-06-09 12:34:55 +00:00
deanna
fb45a35004 Let 2.5 install python-mode for emacs.
ok mbalmer@
2008-05-10 17:10:24 +00:00
wcmaier
8d2dde4d44 Add MODPY_EGG_VERSION to SUBST_VARS to make PLIST updates nicer.
This'll prevent setuptools from creating egg-info filenames
encoded with the package version (even when MODPY_SETUPTOOLS
isn't enabled).

ok mbalmer@, eric@, merdely@; input from many py porters
2008-04-09 21:45:54 +00:00
merdely
d4d0c829a3 Move two files from PLIST-main to PLIST-tools. Fixes pkg_delete python.
From alek@
ok ajacoutot@
2008-03-27 14:31:31 +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
ajacoutot
a33dce6a1a - set SHARED_ONLY=Yes for this module
mbalmer: "python is only runnable on shared arches, all extensions use dlopen()"
no objections from jasper@ espie@ mbalmer@
2008-01-20 15:28:29 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
martynas
486155ce21 add lang/python category; ok steven@ ajacoutot@ 2007-12-10 21:06:58 +00:00
merdely
e0c0e00c91 Add -mieee CFLAG if ${MACHINE_ARCH} == alpha to prevent floating point
exception.

ok & help martynas@; ok alek@ (MAINTAINER) and naddy@
2007-11-21 18:45:07 +00:00
espie
1f7a885b4d nail down build order for parallel build.
tested through a bulk build by sturm@
2007-11-03 11:16:21 +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
steven
94f22279a1 replace MODPY_NO_RUNDEP with MODPY_RUNDEP (yes by default)
add MODPY_LIB_DEPENDS

no objection djm@, ok bernd@
2007-10-22 10:14:02 +00:00
steven
6ff06b85b9 move some test files to the -tests subpackage.
noticed by Simon Kuhnle <simon at blarzwurst.de>
2007-10-21 11:41:32 +00:00
espie
9115667e68 hidden build depend on subversion, if it's around 2007-10-20 06:55:54 +00:00
espie
10bc6b7682 remove the embedded expat source.
This makes sure we pick up the system expat.h
No package change.
2007-10-20 06:54:55 +00:00