is not available for the platform.
Mark packages as "unavailable" instead of "broken" when they depend on
a python version that is not available for the platform.
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
bin/python wrapper. Bump their PKGREVISION to 1.
Also remove the python package. In order to preserve a similar behavior to
this one using the new framework, start by installing pkg_alternatives.
Then just open its manpage, scroll down to the EXAMPLES section, Applying
filters subsection, and follow the (rather short) directions given there.
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
Note that this cannot be changed to ${INSTALL} because it is not the install
command but rather an argument to setup.py. While adding the quotes makes
no difference to the use of the file, it does keep pkglint quiet. This is
even more important because this file is included by many other packages
and causes warnings when trying to check new Python extensions.
by package Makefiles as well as buildlink3s to prevent usage of particular
versions of Python -- even if they appear in PYTHON_VERSIONS_ACCEPTED.
(And make Darwin exclusion use this variable instead, so that it effectively
overrides any pkg's definition of _ACCEPTED.)
to the preferred version of python (as specified by PYTHON_VERSION_DEFAULT).
This means that cross-platform python scripts with "#!/usr/bin/env python"
actually function on pkgsrc systems without nasty hackery.
Approved by Alistair.
scheme only accepts `python', so if we have a script which uses:
#!/path/to/python23
PYTHON_PATCH_SCRIPTS will fail.
Fix provided by Min Sik Kim in PR pkg/24069.
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.
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@.
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@
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.
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
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)