summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-09-17 07:11:41 +0000
committerobache <obache@pkgsrc.org>2010-09-17 07:11:41 +0000
commit7080dbfdd18e74126c136dfd2b991a640cbc6454 (patch)
tree3431d01818a5a9eed9f4285c30f6c792e64eea0f /lang/python
parentad0689949df9ab2a134cbe9be6e90c5f95cb68be (diff)
downloadpkgsrc-7080dbfdd18e74126c136dfd2b991a640cbc6454.tar.gz
Share distfile related information for each python variants with
srcdist.mk to make update simplicity.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/srcdist.mk33
1 files changed, 3 insertions, 30 deletions
diff --git a/lang/python/srcdist.mk b/lang/python/srcdist.mk
index a2ad5f1c123..ee536ab98d9 100644
--- a/lang/python/srcdist.mk
+++ b/lang/python/srcdist.mk
@@ -1,38 +1,11 @@
-# $NetBSD: srcdist.mk,v 1.33 2010/09/04 15:31:29 tron Exp $
+# $NetBSD: srcdist.mk,v 1.34 2010/09/17 07:11:41 obache Exp $
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == "26"
+.sinclude "${.CURDIR}/${PYPKGSRCDIR}/dist.mk"
-DISTNAME= Python-2.6.6
-EXTRACT_SUFX= .tar.bz2
-DISTINFO_FILE= ${.CURDIR}/../../lang/python26/distinfo
-PATCHDIR= ${.CURDIR}/../../lang/python26/patches
-PYSUBDIR= Python-2.6.6
+PYSUBDIR= ${DISTNAME}
WRKSRC= ${WRKDIR}/${PYSUBDIR}
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.6/
-
-.elif ${_PYTHON_VERSION} == "25"
-
-DISTNAME= Python-2.5.5
-EXTRACT_SUFX= .tar.bz2
-DISTINFO_FILE= ${.CURDIR}/../../lang/python25/distinfo
-PATCHDIR= ${.CURDIR}/../../lang/python25/patches
-PYSUBDIR= Python-2.5.5
-WRKSRC= ${WRKDIR}/${PYSUBDIR}
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.5/
-
-.elif ${_PYTHON_VERSION} == "24"
-
-DISTNAME= Python-2.4.5
-EXTRACT_SUFX= .tar.bz2
-DISTINFO_FILE= ${.CURDIR}/../../lang/python24/distinfo
-PATCHDIR= ${.CURDIR}/../../lang/python24/patches
-PYSUBDIR= Python-2.4.5
-WRKSRC= ${WRKDIR}/${PYSUBDIR}
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.4/
-
-.endif
.if defined(PYDISTUTILSPKG)
# This is used for standard modules shipped with Python but build as