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

1.13    ! recht       1: # $NetBSD: srcdist.mk,v 1.12 2004/12/05 23:39:03 recht Exp $
1.1       drochner    2: 
                      3: .include "../../lang/python/pyversion.mk"
                      4: 
1.13    ! recht       5: .if ${_PYTHON_VERSION} == "24"
1.12      recht       6: 
                      7: DISTNAME=      Python-2.4
                      8: EXTRACT_SUFX=  .tar.bz2
                      9: DISTINFO_FILE= ${.CURDIR}/../../lang/python24/distinfo
                     10: PATCHDIR=      ${.CURDIR}/../../lang/python24/patches
                     11: PYSUBDIR=      Python-2.4
                     12: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
                     13: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.4/
                     14: 
1.13    ! recht      15: .elif ${_PYTHON_VERSION} == "23"
1.8       drochner   16: 
1.11      recht      17: DISTNAME=      Python-2.3.4
1.8       drochner   18: EXTRACT_SUFX=  .tgz
                     19: DISTINFO_FILE= ${.CURDIR}/../../lang/python23/distinfo
                     20: PATCHDIR=      ${.CURDIR}/../../lang/python23/patches
1.11      recht      21: PYSUBDIR=      Python-2.3.4
1.8       drochner   22: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
1.11      recht      23: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.3.4/
1.8       drochner   24: 
1.13    ! recht      25: .elif ${_PYTHON_VERSION} == "22"
1.1       drochner   26: 
1.7       drochner   27: DISTNAME=      Python-2.2.3
1.1       drochner   28: EXTRACT_SUFX=  .tgz
                     29: DISTINFO_FILE= ${.CURDIR}/../../lang/python22/distinfo
                     30: PATCHDIR=      ${.CURDIR}/../../lang/python22/patches
1.7       drochner   31: PYSUBDIR=      Python-2.2.3
1.1       drochner   32: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
1.7       drochner   33: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.2.3/
1.1       drochner   34: 
1.13    ! recht      35: .elif ${_PYTHON_VERSION} == "21"
1.1       drochner   36: 
1.3       drochner   37: DISTNAME=      Python-2.1.3
1.1       drochner   38: EXTRACT_SUFX=  .tgz
                     39: DISTINFO_FILE= ${.CURDIR}/../../lang/python21/distinfo
                     40: PATCHDIR=      ${.CURDIR}/../../lang/python21/patches
1.3       drochner   41: PYSUBDIR=      Python-2.1.3
1.1       drochner   42: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
1.3       drochner   43: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.1.3/
1.1       drochner   44: 
                     45: .elif ${_PYTHON_VERSION} == "20"
                     46: 
                     47: DISTNAME=      Python-2.0.1
                     48: # for historical reasons
                     49: DIST_SUBDIR=   python
                     50: EXTRACT_SUFX=  .tgz
                     51: DISTINFO_FILE= ${.CURDIR}/../../lang/python20/distinfo
                     52: PATCHDIR=      ${.CURDIR}/../../lang/python20/patches
                     53: PYSUBDIR=      Python-2.0.1
                     54: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
                     55: MASTER_SITES=  ftp://ftp.python.org/pub/python/2.0.1/
1.2       drochner   56: 
                     57: .elif ${_PYTHON_VERSION} == "15"
                     58: 
                     59: DISTNAME=      py152
                     60: EXTRACT_SUFX=  .tgz
                     61: DISTINFO_FILE= ${.CURDIR}/../../lang/python15/distinfo
                     62: PATCHDIR=      ${.CURDIR}/../../lang/python15/patches
                     63: PYSUBDIR=      Python-1.5.2
                     64: WRKSRC=                ${WRKDIR}/${PYSUBDIR}
                     65: MASTER_SITES=  http://www.python.org/ftp/python/src/
1.1       drochner   66: 
                     67: .endif
                     68: 
                     69: .if defined(PYDISTUTILSPKG)
                     70: # This is used for standard modules shipped with Python but build as
                     71: # separate packages.
                     72: 
                     73: python-std-patchsetup:
                     74:        ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
                     75:                <${FILESDIR}/setup.py >${WRKSRC}/setup.py
                     76: 
                     77: post-extract: python-std-patchsetup
                     78: .endif

CVSweb <webmaster@jp.NetBSD.org>