Annotation of pkgsrc/lang/python/srcdist.mk, revision 1.27

1.27    ! wiz         1: # $NetBSD: srcdist.mk,v 1.26 2009/04/11 19:42:23 snj Exp $
1.1       drochner    2: 
                      3: .include "../../lang/python/pyversion.mk"
                      4: 
1.27    ! wiz         5: .if ${_PYTHON_VERSION} == "26"
        !             6: 
        !             7: DISTNAME=      Python-2.6.2
        !             8: EXTRACT_SUFX=  .tar.bz2
        !             9: DISTINFO_FILE= ${.CURDIR}/../../lang/python26/distinfo
        !            10: PATCHDIR=      ${.CURDIR}/../../lang/python26/patches
        !            11: PYSUBDIR=      Python-2.6.2
        !            12: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
        !            13: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.6/
        !            14: 
        !            15: .elif ${_PYTHON_VERSION} == "25"
1.21      tnn        16: 
1.26      snj        17: DISTNAME=      Python-2.5.4
1.21      tnn        18: EXTRACT_SUFX=  .tar.bz2
                     19: DISTINFO_FILE= ${.CURDIR}/../../lang/python25/distinfo
                     20: PATCHDIR=      ${.CURDIR}/../../lang/python25/patches
1.26      snj        21: PYSUBDIR=      Python-2.5.4
1.21      tnn        22: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
                     23: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.5/
                     24: 
                     25: .elif ${_PYTHON_VERSION} == "24"
1.12      recht      26: 
1.20      drochner   27: DISTNAME=      Python-2.4.5
1.12      recht      28: EXTRACT_SUFX=  .tar.bz2
                     29: DISTINFO_FILE= ${.CURDIR}/../../lang/python24/distinfo
                     30: PATCHDIR=      ${.CURDIR}/../../lang/python24/patches
1.20      drochner   31: PYSUBDIR=      Python-2.4.5
1.12      recht      32: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
                     33: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.4/
                     34: 
1.13      recht      35: .elif ${_PYTHON_VERSION} == "23"
1.8       drochner   36: 
1.24      wiz        37: DISTNAME=      Python-2.3.7
1.8       drochner   38: EXTRACT_SUFX=  .tgz
                     39: DISTINFO_FILE= ${.CURDIR}/../../lang/python23/distinfo
                     40: PATCHDIR=      ${.CURDIR}/../../lang/python23/patches
1.24      wiz        41: PYSUBDIR=      Python-2.3.7
1.8       drochner   42: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
1.24      wiz        43: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.3.7/
1.8       drochner   44: 
1.1       drochner   45: .endif
                     46: 
                     47: .if defined(PYDISTUTILSPKG)
                     48: # This is used for standard modules shipped with Python but build as
                     49: # separate packages.
                     50: 
                     51: python-std-patchsetup:
                     52:        ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
                     53:                <${FILESDIR}/setup.py >${WRKSRC}/setup.py
                     54: 
                     55: post-extract: python-std-patchsetup
                     56: .endif

CVSweb <webmaster@jp.NetBSD.org>