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

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

CVSweb <webmaster@jp.NetBSD.org>