Annotation of pkgsrc/lang/python/srcdist.mk, revision 1.7
1.7 ! drochner 1: # $NetBSD: srcdist.mk,v 1.6 2002/10/25 10:52:25 drochner Exp $
1.1 drochner 2:
3: .include "../../lang/python/pyversion.mk"
4:
1.6 drochner 5: .if ${_PYTHON_VERSION} == "22" || ${_PYTHON_VERSION} == "22pth"
1.1 drochner 6:
1.7 ! drochner 7: DISTNAME= Python-2.2.3
1.1 drochner 8: EXTRACT_SUFX= .tgz
9: DISTINFO_FILE= ${.CURDIR}/../../lang/python22/distinfo
10: PATCHDIR= ${.CURDIR}/../../lang/python22/patches
1.7 ! drochner 11: PYSUBDIR= Python-2.2.3
1.1 drochner 12: WRKSRC= ${WRKDIR}/${PYSUBDIR}
1.7 ! drochner 13: MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/
1.1 drochner 14:
1.4 drochner 15: .elif ${_PYTHON_VERSION} == "21" || ${_PYTHON_VERSION} == "21pth"
1.1 drochner 16:
1.3 drochner 17: DISTNAME= Python-2.1.3
1.1 drochner 18: EXTRACT_SUFX= .tgz
19: DISTINFO_FILE= ${.CURDIR}/../../lang/python21/distinfo
20: PATCHDIR= ${.CURDIR}/../../lang/python21/patches
1.3 drochner 21: PYSUBDIR= Python-2.1.3
1.1 drochner 22: WRKSRC= ${WRKDIR}/${PYSUBDIR}
1.3 drochner 23: MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.3/
1.1 drochner 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/
1.2 drochner 36:
37: .elif ${_PYTHON_VERSION} == "15"
38:
39: DISTNAME= py152
40: EXTRACT_SUFX= .tgz
41: DISTINFO_FILE= ${.CURDIR}/../../lang/python15/distinfo
42: PATCHDIR= ${.CURDIR}/../../lang/python15/patches
43: PYSUBDIR= Python-1.5.2
44: WRKSRC= ${WRKDIR}/${PYSUBDIR}
45: MASTER_SITES= http://www.python.org/ftp/python/src/
1.1 drochner 46:
47: .endif
48:
49: .if defined(PYDISTUTILSPKG)
50: # This is used for standard modules shipped with Python but build as
51: # separate packages.
52:
53: python-std-patchsetup:
54: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
55: <${FILESDIR}/setup.py >${WRKSRC}/setup.py
56:
57: post-extract: python-std-patchsetup
58: .endif
CVSweb <webmaster@jp.NetBSD.org>