summaryrefslogtreecommitdiff
path: root/lang/python/pyversion.mk
AgeCommit message (Collapse)AuthorFilesLines
2008-04-25Remove python 2.1 from the default set of acceptable python packagestnn1-3/+3
so that packages that require it must specify so explicitly.
2008-04-25De-orbit support for python 2.0 and python 2.2 under the "three majortnn1-20/+6
releases is enough" rule of thumb. (python 2.3 was released 5 years ago.) Keep python 1.5 and 2.1 though, because there are a handful of packages that still need them.
2008-04-24adjust directory for python25tnn1-7/+3
2008-04-18As all Python packages are required to include lang/python/pyversion.mkjoerg1-6/+8
anyway, simplify logic a bit: Add Python 2.5 to the default list, but also mark it as incompatible if wip/python25 is not present. Move the Darwin handling after setting a default value. Provide a new variable _PYTHON_VERSIONS_ACCEPTED that is filtered by PYTHON_VERSIONS_INCOMPATIBLE. This helps to avoid providing broken dependencies when a version is not supported as PYPKGPREFIX wouldn't be set in that case.
2008-04-11only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile foundabs1-1/+5
2008-04-11Add 25 to PYTHON_VERSIONS_ACCEPTED, so PYTHON_VERSION_DEFAULT=25 works in ↵abs1-2/+2
mk.conf
2008-03-15For Python 2.5, check that the wip directory actually exists.joerg1-2/+2
2008-02-20Removed colons from variable names so they are accessible to "bmakerillig1-8/+15
help".
2008-02-04Revert last. Python 2.5 is not in the main tree and creating noise forjoerg1-2/+2
bulk builds is inacceptable.
2008-02-01python 2.5 should be supported because it's the current production release,xtraeme1-6/+13
make it understand wip/python25 and PYTHON_VERSION_DEFAULT=25. Change the wip path iff python25 is imported.
2008-01-31Improved the wording for the cases where PYTHON_VERSIONS_INCOMPATIBLErillig1-4/+5
should be used instead of PYTHON_VERSIONS_ACCEPTED.
2008-01-31Explained the comment for PYTHON_VERSIONS_ACCEPTED and documented whyrillig1-7/+8
PYTHON_VERSIONS_INCOMPATIBLE should be used instead.
2007-08-24Added PYTHON to ALL_ENV, since otherwise many packages may be confusedrillig1-1/+3
by other Python installations.
2007-01-07In the BUILD_DEFS message, print which Python version has actually beenrillig1-2/+6
selected.
2006-09-07Moved the BUILD_DEFS code a bit so that it only gets executed when therillig1-3/+2
PYTHON_VERSION_DEFAULT can really change things. Thanks to joerg for noticing it.
2006-09-07Added the usual documentation.rillig1-1/+37
Whenever this file is used, PYTHON_VERSION_DEFAULT is added to BUILD_DEFS to inform the user that the Python version is configurable.
2006-08-08set the default defauly python version to 2.4drochner1-2/+2
2006-06-30py15-distutils-* => py15-distutils-[0-9]*joerg1-2/+2
2006-06-15Don't query distutils when bootstrapping it. Should fix problemsjoerg1-2/+2
with devel/py-distutils from the bulk builds.
2006-06-04Remove logic to use the current installed Python as default.joerg1-47/+19
Always prefer the default version and fallback to the first entry of PYTHON_VERSIONS_ACCEPTED, which is supported by the current system. Also honour PYTHON_VERSIONS_ACCEPTED and _INCOMPATIBLE, when PYTHON_VERSION_REQD is used.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-13/+13
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2005-11-04Use PTHREAD_OPTS+=require instead of a "=".rillig1-2/+3
2005-07-09Prevent include of nonexisting file when the requested python versionkristerw1-2/+4
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.
2005-06-23Fix typo: it's BUILDLINK_DEPMETHOD.python not BUILD_DEPMETHOD.python.seb1-2/+2
2005-03-29Use PKG_FAIL_REASON when the python version is not found, otherwisextraeme1-2/+2
will get an unassociated shell command building some packages.
2005-03-24Remove redundant inclusion of pth/buildlink3.mk. This exact same codejlam1-4/+1
already exists in pthread.buildlink3.mk.
2005-03-24Don't check for USE_BUILDLINK3 anymore in these files. These are includedjlam1-15/+7
by other package Makefiles, and with the deprecation of USE_BUILDLINK3 support in the infrastructure files, these had the potential to break existing packages.
2005-01-24Remove 23 from PYTHON_VERSIONS_INCOMPATIBLE in the Darwin case.recht1-2/+2
It builds and runs just fine.
2005-01-23Build Python with thread support by default and turn the existingrecht1-73/+8
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.
2004-12-05add Python 2.4recht1-3/+30
2004-07-23Add PRINT_PLIST_AWKs for PYINC, PYSITELIB and PYLIB.recht1-1/+15
2004-06-06Add a PYTHON_VERSIONS_INCOMPATIBLE, an additive variable that can be settv1-4/+8
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.)
2004-05-23Now that all Python modules have been bl3ified remove the bl2 support.recht1-29/+6
2004-04-23set INSTALL_UNSTRIPPED on Darwin so modules will be able to resolvedanw1-4/+6
symbols in the python binary. Bump PKGREVISION and require the new versions on Darwin. Fixes pkg/25272
2004-04-22Make Python 2.3 the default Python version.recht1-3/+3
ok'd by drochner@
2004-03-11Fix up the supported versions on Darwindanw1-2/+2
2004-01-25add buildlink3 supportrecht1-3/+26
2003-09-30DTRT for USE_BUILDLINK2=no (or [nN][oO]).kristerw1-5/+5
2003-08-04prepare for Python-2.3drochner1-3/+30
2003-05-07use the same logics for pth dependency like in python2?-pth/Makefiledrochner1-3/+11
2003-03-10add 22pth and 21pth to default 'accepted' listjdolecek1-2/+2
fixes PR pkg/20601 by David W. Talmage
2002-12-23Remove references to pth/buildlink.mk.wiz1-5/+1
2002-11-23On Darwin, since it's currently the only Python that's usable there,schmonz1-1/+5
force PYTHON_VERSIONS_ACCEPTED to "22".
2002-10-30Make default version of Python 2.2.x instead of 2.1.x. Since multipletsarna1-2/+2
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-25another Python versiondrochner1-1/+16
2002-10-09Set PYPACKAGE to the ${PKGBASE} of the python package used. PYPACKAGE canjlam1-1/+6
later be used to probe the values in the various buildlink2.mk files.
2002-10-09We actually refer to the pth-enable python package as "python21-pth".jlam1-7/+7
2002-09-25Fix typo on python21-pth pathname.seb1-2/+2
2002-09-20Move the definitions for PYINC, PYLIB, and PYSITELIB to pyversion.mkjlam1-3/+12
so that they may be used by buildlink2.mk files.
2002-09-20Make this work with buildlink2.jlam1-9/+26