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/python25 | |
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/python25')
-rw-r--r-- | lang/python25/Makefile | 11 | ||||
-rw-r--r-- | lang/python25/dist.mk | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile index 02f572086af..0e3afeea8aa 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.27 2010/09/02 11:27:55 drochner Exp $ +# $NetBSD: Makefile,v 1.28 2010/09/17 07:11:41 obache Exp $ -DISTNAME= Python-2.5.5 -PKGNAME= python25-2.5.5 +.include "dist.mk" + +PKGNAME= python25-${PY_DISTVERSION} PKGREVISION= 1 CATEGORIES= lang python -MASTER_SITES= http://www.python.org/ftp/python/2.5.5/ -EXTRACT_SUFX= .tar.bz2 MAINTAINER= recht@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/python25/dist.mk b/lang/python25/dist.mk new file mode 100644 index 00000000000..b175c63e451 --- /dev/null +++ b/lang/python25/dist.mk @@ -0,0 +1,8 @@ +# $NetBSD: dist.mk,v 1.1 2010/09/17 07:11:41 obache Exp $ + +PY_DISTVERSION= 2.5.5 +DISTNAME= Python-${PY_DISTVERSION} +EXTRACT_SUFX= .tar.bz2 +DISTINFO_FILE= ${.CURDIR}/../../lang/python25/distinfo +PATCHDIR= ${.CURDIR}/../../lang/python25/patches +MASTER_SITES= http://www.python.org/ftp/python/${PY_DISTVERSION}/ |