diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-29 19:21:58 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-29 19:21:58 +0000 |
commit | 3314235ba8a249b62a91b277ad1dcfee71a24f6f (patch) | |
tree | 0b88b69a3a5c470bcc9480c8b62c5599e225c7e8 /lang/python | |
parent | 771aa280730fb9b58983ab24e268cf54fb2f7434 (diff) | |
download | pkgsrc-3314235ba8a249b62a91b277ad1dcfee71a24f6f.tar.gz |
tell it about Python-1.5
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/pyversion.mk | 13 | ||||
-rw-r--r-- | lang/python/srcdist.mk | 12 |
2 files changed, 23 insertions, 2 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} diff --git a/lang/python/srcdist.mk b/lang/python/srcdist.mk index 340954e4873..3f88c3ee4ce 100644 --- a/lang/python/srcdist.mk +++ b/lang/python/srcdist.mk @@ -1,4 +1,4 @@ -# $NetBSD: srcdist.mk,v 1.1 2002/01/28 09:04:07 drochner Exp $ +# $NetBSD: srcdist.mk,v 1.2 2002/01/29 19:21:58 drochner Exp $ .include "../../lang/python/pyversion.mk" @@ -34,6 +34,16 @@ PYSUBDIR= Python-2.0.1 WRKSRC= ${WRKDIR}/${PYSUBDIR} MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/ +.elif ${_PYTHON_VERSION} == "15" + +DISTNAME= py152 +EXTRACT_SUFX= .tgz +DISTINFO_FILE= ${.CURDIR}/../../lang/python15/distinfo +PATCHDIR= ${.CURDIR}/../../lang/python15/patches +PYSUBDIR= Python-1.5.2 +WRKSRC= ${WRKDIR}/${PYSUBDIR} +MASTER_SITES= http://www.python.org/ftp/python/src/ + .endif .if defined(PYDISTUTILSPKG) |