Commit Graph

262 Commits

Author SHA1 Message Date
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
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