diff options
author | obache <obache@pkgsrc.org> | 2010-09-17 07:11:41 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-09-17 07:11:41 +0000 |
commit | 7080dbfdd18e74126c136dfd2b991a640cbc6454 (patch) | |
tree | 3431d01818a5a9eed9f4285c30f6c792e64eea0f /lang/python26 | |
parent | ad0689949df9ab2a134cbe9be6e90c5f95cb68be (diff) | |
download | pkgsrc-7080dbfdd18e74126c136dfd2b991a640cbc6454.tar.gz |
Share distfile related information for each python variants with
srcdist.mk to make update simplicity.
Diffstat (limited to 'lang/python26')
-rw-r--r-- | lang/python26/Makefile | 11 | ||||
-rw-r--r-- | lang/python26/dist.mk | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile index b68f3f2a8d0..939cbc20a15 100644 --- a/lang/python26/Makefile +++ b/lang/python26/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.28 2010/09/16 11:09:50 obache Exp $ +# $NetBSD: Makefile,v 1.29 2010/09/17 07:11:42 obache Exp $ -DISTNAME= Python-2.6.6 -PKGNAME= ${DISTNAME:S/Python/python26/} +.include "dist.mk" + +PKGNAME= python26-${PY_DISTVERSION} PKGREVISION= 2 CATEGORIES= lang python -MASTER_SITES= http://www.python.org/ftp/python/${PKGVERSION_NOREV}/ -EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.python.org/ @@ -14,8 +13,6 @@ LICENSE= python-software-foundation PKG_DESTDIR_SUPPORT= user-destdir -# Remember to update pkgsrc/lang/python/srcdist.mk when version changes - CONFLICTS+= python-[0-9]* GNU_CONFIGURE= yes diff --git a/lang/python26/dist.mk b/lang/python26/dist.mk new file mode 100644 index 00000000000..7f27d140e6a --- /dev/null +++ b/lang/python26/dist.mk @@ -0,0 +1,8 @@ +# $NetBSD: dist.mk,v 1.1 2010/09/17 07:11:42 obache Exp $ + +PY_DISTVERSION= 2.6.6 +DISTNAME= Python-${PY_DISTVERSION} +EXTRACT_SUFX= .tar.bz2 +DISTINFO_FILE= ${.CURDIR}/../../lang/python26/distinfo +PATCHDIR= ${.CURDIR}/../../lang/python26/patches +MASTER_SITES= http://www.python.org/ftp/python/${PY_DISTVERSION}/ |