Commit Graph

28 Commits

Author SHA1 Message Date
espie
4a3813916a A few more python deps, tweak python module to handle tkinter 2009-03-15 13:03:41 +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
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
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
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
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
martynas
486155ce21 add lang/python category; ok steven@ ajacoutot@ 2007-12-10 21:06:58 +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
1c3b4e374e oops, missing :L 2007-10-10 21:44:06 +00:00
steven
a0f54e5879 add MODPY_NO_RUNDEP (set to no by default) to be able to use all the
variables from the python module without adding python to RUN_DEPENDS.

requested by and ok bernd@
2007-10-10 21:42:14 +00:00
steven
58855d1489 switch default python version to 2.5
discussed with martynas and djm
2007-10-08 08:21:33 +00:00
martynas
374c9f1d26 use REGRESS_TARGET with setuptools and make it default to test
looks good to steven@; makes sense to xsa@
2007-05-22 15:34:26 +00:00
steven
8b63a2b8ee introduce MODPY_RUN_DEPENDS 2006-11-26 10:16:22 +00:00
djm
df845c7322 support bits for setuptools-style ports, activated using:
MODPY_SETUPTOOLS = Yes

feedback and ok xsa@
2006-09-26 15:27:02 +00:00
alek
974327c525 Switch default python version to 2.4 2006-06-03 09:14:04 +00:00
bernd
c3969a91b0 Don't override do-build and do-install targets if CONFIGURE_STYLE is used.
"put this in" alek@
2006-01-27 17:50:54 +00:00
xsa
081857cde9 introduce MODPY_TKINTER_DEPENDS and MODPY_EXPAT_DEPENDS to deal
with -tkinter and -expat subpackages on no shared libs archs;
from discussion with espie@. Python maintainer agrees as well.
2004-08-06 07:33:19 +00:00
xsa
4b93030f65 respect CC when building ports with distutils as it checks if
the env variable CC is, if yes, it uses it...
okay sturm@.
2004-06-21 23:25:07 +00:00
xsa
dfab581583 use LOCALBASE instead of PREFIX for directories that are already
created by python itself; while here add MODPY_INCDIR;
2004-05-15 09:24:12 +00:00
xsa
bde493e8d6 no BUILD_DEPENDS for NO_BUILD= Yes ports;
ok sturm@.
2004-02-06 08:37:22 +00:00
sturm
a362888a2c switch modules to python 2.3 by default
prodded by Xavier Santolaria who helped testing
2004-01-22 06:28:35 +00:00
sturm
e181562db2 Most python ports rebuild their files at install time, as root. This
removes this behaviour, additionally "make clean" is now able to clean
such a port's directory and no longer fails due to missing permissions.

from Andrew Dalgleish via Xavier Santolaria
2003-10-10 16:38:18 +00:00
sturm
8238657cc7 - add new variables MODPY_LIBDIR and MODPY_SITEPKG
- make MODPY_CMD intern

from Xavier Santolaria <xavier@santolaria.net>
2003-08-12 20:23:20 +00:00
jolan
6ad72bdf91 Author (Xavier Santolaria) puts these into the PD. 2003-07-31 07:01:21 +00:00
sturm
4440c9f33e use MAKE_ENV when building/installing
from Xavier Santolaria <xavier@santolaria.net>
2003-07-29 19:35:32 +00:00
sturm
706f3c88e2 python module for all standard python ports
from Xavier Santolaria <xavier@santolaria.net>
2003-07-28 17:48:13 +00:00