diff options
author | drochner <drochner> | 2002-01-29 19:21:58 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-01-29 19:21:58 +0000 |
commit | 019656427d313225bceeeb7b002288be3977017b (patch) | |
tree | 0b88b69a3a5c470bcc9480c8b62c5599e225c7e8 /lang/python/pyversion.mk | |
parent | 8e9299605f7f023c2be7def67c3f58d6de212b15 (diff) | |
download | pkgsrc-019656427d313225bceeeb7b002288be3977017b.tar.gz |
tell it about Python-1.5
Diffstat (limited to 'lang/python/pyversion.mk')
-rw-r--r-- | lang/python/pyversion.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk index 68cc4522cc1..d206ad0bad5 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.6 2002/01/19 12:54:52 drochner Exp $ +# $NetBSD: pyversion.mk,v 1.7 2002/01/29 19:21:58 drochner Exp $ .if !defined(PYTHON_PYVERSION_MK) PYTHON_PYVERSION_MK= defined @@ -8,6 +8,7 @@ PYTHON_PYVERSION_MK= defined PYTHON_VERSION_DEFAULT?= 21 PYTHON_VERSIONS_ACCEPTED?= 22 21 20 +BUILDLINK_DEPENDS.python15?= python15>=1.5 BUILDLINK_DEPENDS.python20?= python20>=2.0 BUILDLINK_DEPENDS.python21?= python21>=2.1 BUILDLINK_DEPENDS.python22?= python22>=2.2 @@ -27,6 +28,9 @@ _PYTHON_VERSION_21_INSTALLED= yes .if exists(${LOCALBASE}/bin/python2.0) _PYTHON_VERSION_20_INSTALLED= yes .endif +.if exists(${LOCALBASE}/bin/python1.5) +_PYTHON_VERSION_15_INSTALLED= yes +.endif # # choose a python version where to add, @@ -85,6 +89,13 @@ PYPKGPREFIX= py21 PYDEPENDENCY= ${BUILDLINK_DEPENDS.python20}:../../lang/python20 PYVERSSUFFIX= 2.0 PYPKGPREFIX= py20 +.elif ${_PYTHON_VERSION} == "15" +PYDEPENDENCY= ${BUILDLINK_DEPENDS.python15}:../../lang/python15 +PYVERSSUFFIX= 1.5 +PYPKGPREFIX= py15 +.if !defined(PYTHON_DISTUTILS_BOOTSTRAP) +BUILD_DEPENDS+= py15-distutils-*:../../devel/py-distutils +.endif .endif PYTHONBIN= ${LOCALBASE}/bin/python${PYVERSSUFFIX} |