Annotation of pkgsrc/lang/python/srcdist.mk, revision 1.1
1.1 ! drochner 1: # $NetBSD$
! 2:
! 3: .include "../../lang/python/pyversion.mk"
! 4:
! 5: .if ${_PYTHON_VERSION} == "22"
! 6:
! 7: DISTNAME= Python-2.2
! 8: EXTRACT_SUFX= .tgz
! 9: DISTINFO_FILE= ${.CURDIR}/../../lang/python22/distinfo
! 10: PATCHDIR= ${.CURDIR}/../../lang/python22/patches
! 11: PYSUBDIR= Python-2.2
! 12: WRKSRC= ${WRKDIR}/${PYSUBDIR}
! 13: MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.2/
! 14:
! 15: .elif ${_PYTHON_VERSION} == "21"
! 16:
! 17: DISTNAME= Python-2.1.2
! 18: EXTRACT_SUFX= .tgz
! 19: DISTINFO_FILE= ${.CURDIR}/../../lang/python21/distinfo
! 20: PATCHDIR= ${.CURDIR}/../../lang/python21/patches
! 21: PYSUBDIR= Python-2.1.2
! 22: WRKSRC= ${WRKDIR}/${PYSUBDIR}
! 23: MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.2/
! 24:
! 25: .elif ${_PYTHON_VERSION} == "20"
! 26:
! 27: DISTNAME= Python-2.0.1
! 28: # for historical reasons
! 29: DIST_SUBDIR= python
! 30: EXTRACT_SUFX= .tgz
! 31: DISTINFO_FILE= ${.CURDIR}/../../lang/python20/distinfo
! 32: PATCHDIR= ${.CURDIR}/../../lang/python20/patches
! 33: PYSUBDIR= Python-2.0.1
! 34: WRKSRC= ${WRKDIR}/${PYSUBDIR}
! 35: MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/
! 36:
! 37: .endif
! 38:
! 39: .if defined(PYDISTUTILSPKG)
! 40: # This is used for standard modules shipped with Python but build as
! 41: # separate packages.
! 42:
! 43: python-std-patchsetup:
! 44: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
! 45: <${FILESDIR}/setup.py >${WRKSRC}/setup.py
! 46:
! 47: post-extract: python-std-patchsetup
! 48: .endif
CVSweb <webmaster@jp.NetBSD.org>