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

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

CVSweb <webmaster@jp.NetBSD.org>