Annotation of pkgsrc/lang/python/srcdist.mk, revision 1.28
1.28 ! joerg 1: # $NetBSD: srcdist.mk,v 1.27 2009/04/19 14:46:21 wiz 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.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>