Commit graph

102 commits

Author SHA1 Message Date
recht
6ff2e5bdd5 update to 2.3.3
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of serious errors with weakrefs and the cyclic garbage
collector. There are also a number of fixes to the standard library
- see the release notes ( http://www.python.org/2.3.3/NEWS.html )for details.
2003-12-23 17:24:42 +00:00
recht
d5dc8a4e54 Update to Python 2.3.2
Changes in Python:
Quite a few fixes.. See NEWS for details.

Changes in the pkg:
- add FreeBSD patches from the FreeBSD port
- add fix for a fatal bug in type's GC handling causes segfaults
  (via FreeBSD port)
  see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u
- always build the db 1.85 module (on all platforms)
2003-12-08 21:13:56 +00:00
recht
5ae0dcc995 Fix PYTHON_VERSION_REQG regex for non-NetBSD native make (read for bmake). 2003-12-05 19:24:31 +00:00
darcy
291b036e4d Revert previous change. I was trying to get pkglint to keep quiet but
Marc Recht pointed out that install is not the install command here but
rather an argument to the Python setup program.
2003-12-03 12:26:35 +00:00
darcy
b4b58bfb37 Change hard coded call of install to use INSTALL environment variable. 2003-12-03 12:00:09 +00:00
recht
3619f6de56 Add a comment for the last change. 2003-11-03 18:25:01 +00:00
recht
585a55d24c Fix breakage caused by PKGNAME_REQD quoting in bsd.pkg.mk. 2003-11-01 12:10:00 +00:00
kristerw
1379422e42 DTRT for USE_BUILDLINK2=no (or [nN][oO]). 2003-09-30 22:44:52 +00:00
recht
e914ab3288 hange extension.mk to also install optimized files for distutils packages.
Inspired by FreeBSD "ports".

Fix the PLISTs accordingly.
Also, while at it, remove now obsolete compileall.py calls in post-install
targets and insure that extension.mk is in included before builinlinks of
other Python modules.

Discussed with/ok'ed by drochner@.
2003-09-14 16:43:45 +00:00
recht
13d6925118 Adapt a change from FreeBSD's ports Mk/bsd.python.mk.
Change the order of PYSETUP*AGS and the corresponding target.
Eg.:
s/${PYSETUPINSTALLARGS} install/install ${PYSETUPINSTALLARGS}/

This allows us to automatically install .pyo files with a
PYSETUPINSTALLARGS=-O1 -c and thus drop the compileall.py stuff in the
post-install target.

ok'ed by drochner@
2003-09-11 13:13:47 +00:00
drochner
88109ac95a prepare for Python-2.3 2003-08-04 08:15:47 +00:00
drochner
52947f7d70 update Python22 to 2.2.3
This is a bugfix release.
Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the
interpreter against libgcc. This should fix PR pkg/16144 in the
Python2.2 (and NetBSD-1.5) case.
2003-06-06 17:31:17 +00:00
jdolecek
a796119e39 some packages (e.g. py-wxWindows 2.4.0.7) have the Python setup.py
in subdirectory and need to execute setup.py in that directory, but
still need WRKSRC set to the base directory for configure/patch targets

to handle this, add PYSETUPSUBDIR variable (default empty), and
change do-build+do-install targets to use working directory
${WRKSRC}/${PYSETUPSUBDIR} when executing setup.py
2003-05-09 09:24:17 +00:00
drochner
4aae56f303 use the same logics for pth dependency like in python2?-pth/Makefile 2003-05-07 20:08:18 +00:00
jdolecek
0e8a85b77b add 22pth and 21pth to default 'accepted' list
fixes PR pkg/20601 by David W. Talmage
2003-03-10 09:19:07 +00:00
wiz
d44383d5b9 Remove references to pth/buildlink.mk. 2002-12-23 14:11:36 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
schmonz
687c3e18be On Darwin, since it's currently the only Python that's usable there,
force PYTHON_VERSIONS_ACCEPTED to "22".
2002-11-23 00:54:44 +00:00
tsarna
73dec61f67 Make default version of Python 2.2.x instead of 2.1.x. Since multiple
versions of Python may be installed, and packages that require an
earlier version can always specify that, this should cause no problem,
and it seems sensible that people who don't care should get the latest.

(drochner concurs)
2002-10-30 22:36:16 +00:00
drochner
92b5ac655f another Python version 2002-10-25 10:52:24 +00:00
jlam
a96d235882 Allow additional sed expressions to be used to patch the python scripts by
passing them in with PYTHON_PATCH_SCRIPT_SED.
2002-10-18 16:34:54 +00:00
jlam
5759dae1d3 Allow PYTHON_PATCH_SCRIPTS to take shell wildcards. 2002-10-18 16:28:25 +00:00
tsarna
edf2d3d71d Upgrade python22 package from 2.2.1 to 2.2.2.
Mostly bug fixes, a few enhancements, notably in the email package.
2002-10-15 16:16:34 +00:00
jlam
1dca5f96aa Set PYPACKAGE to the ${PKGBASE} of the python package used. PYPACKAGE can
later be used to probe the values in the various buildlink2.mk files.
2002-10-09 11:11:51 +00:00
jlam
b8abc82c52 We actually refer to the pth-enable python package as "python21-pth". 2002-10-09 11:06:13 +00:00
seb
65e7637413 Fix typo on python21-pth pathname. 2002-09-25 00:02:40 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
jlam
587bd5400f Move the definitions for PYINC, PYLIB, and PYSITELIB to pyversion.mk
so that they may be used by buildlink2.mk files.
2002-09-20 22:53:21 +00:00
jlam
8793a1f520 Make this work with buildlink2. 2002-09-20 22:32:35 +00:00
drochner
8adf403239 pass the MAKE_ENV to distutils builds 2002-09-04 14:28:37 +00:00
drochner
e9e73293b9 make the automatic Python version derivation work with non-numeric
version number components
2002-09-03 18:14:19 +00:00
drochner
6ef414aee4 teach it about python21-pth 2002-08-20 20:00:14 +00:00
wiz
75e10923ba echo -> ${ECHO} 2002-07-14 13:05:23 +00:00
drochner
4b0045a0dc update for new distfiles 2002-04-15 12:29:14 +00:00
drochner
1175e03cbf force an error if no usable Python version is found 2002-02-02 13:26:01 +00:00
drochner
44049efd3d don't error it distutils are not present 2002-01-29 19:22:26 +00:00
drochner
3314235ba8 tell it about Python-1.5 2002-01-29 19:21:58 +00:00
drochner
493d9526b1 remove the old python-2.x pkg, this is superseded by the new framework 2002-01-29 12:37:46 +00:00
drochner
d438ed2457 not needed anymore 2002-01-29 12:13:40 +00:00
drochner
b165e0fea4 collect definition for stuff built from the Python source distribution
(ie Python itself and various modules which depend on additional libs
- eg ncurses and gdbm) in one place
2002-01-28 09:04:07 +00:00
drochner
3a9ac7a920 nuke the USE_PYPKGPREFIX option - simply require that a pkg using
extension.buildlink.mk also uses PYPKGPREFIX
2002-01-22 18:01:41 +00:00
drochner
a23b4940ea some changes for scripts which get run during build:
-rearrange sed call so that an execute permission doesn't get lost
-correct python path earlier (post-patch)
2002-01-19 13:39:58 +00:00
drochner
ec37856b78 add an option to get a BUILD_DEPENDS only 2002-01-19 12:54:52 +00:00
drochner
1a451cf9b8 do the script patching pre-install rather than post-build,
to make it work is NO_BUILD is set
2002-01-18 14:16:19 +00:00
drochner
2777c8ce61 use "-f" flag do "mv" 2002-01-18 11:00:56 +00:00
drochner
4969adf8b7 add a conflict with python20-* for the time remaining
(when all dependant pkgs are verified to work with
the new Python packages, this one will be removed)
2002-01-17 13:49:01 +00:00
drochner
cd753db2fb add a rule to patch #!/the/right/path/to/python into the first line
of scripts
2002-01-17 11:17:54 +00:00
drochner
5625a5fa1d define a PYVERSSUFFIX (major.minor) and use it to define PYTHONBIN
add some comments
2002-01-17 11:06:42 +00:00
drochner
a7fe940345 allow to override the python minor versions 2002-01-16 20:09:08 +00:00
drochner
3a04e0665f update for new location of the Python-2.0 pkg 2002-01-16 18:45:09 +00:00