From 12c653b192d88e4d20a21426f7936cb2ba677fe0 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 4 Feb 2012 12:24:53 +0000 Subject: * No need to buildlink with obsolated py-xml, add py-expat to DEPENDS instead. * distutils pkg, using python/distutils.mk and register egg-info. Bump PKGREVISION. --- textproc/py-elementtree/Makefile | 13 ++++++------- textproc/py-elementtree/PLIST | 9 +++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/textproc/py-elementtree/Makefile b/textproc/py-elementtree/Makefile index 7154f04ae65..428c6575511 100644 --- a/textproc/py-elementtree/Makefile +++ b/textproc/py-elementtree/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.10 2011/02/28 14:53:05 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2012/02/04 12:24:53 obache Exp $ # DISTNAME= elementtree-1.2.6-20050316 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-20050316//} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= textproc MASTER_SITES= http://effbot.org/downloads/ @@ -13,12 +13,11 @@ COMMENT= Read XML and HTML files into trees of Element objects PKG_DESTDIR_SUPPORT= user-destdir -DEPENDS+= ${PYPKGPREFIX}-xml-[0-9]*:../../textproc/py-xml - -PY_PATCHPLIST= yes -PYDISTUTILSPKG= yes +DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat USE_LANGUAGES= # empty -.include "../../lang/python/extension.mk" +EGG_NAME= elementtree-1.2.6_20050316 + +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-elementtree/PLIST b/textproc/py-elementtree/PLIST index a1b37305bb5..6efc330f107 100644 --- a/textproc/py-elementtree/PLIST +++ b/textproc/py-elementtree/PLIST @@ -1,7 +1,5 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:25 joerg Exp $ -${PYSITELIB}/elementtree/__init__.py -${PYSITELIB}/elementtree/__init__.pyc -${PYSITELIB}/elementtree/__init__.pyo +@comment $NetBSD: PLIST,v 1.3 2012/02/04 12:24:53 obache Exp $ +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/elementtree/ElementInclude.py ${PYSITELIB}/elementtree/ElementInclude.pyc ${PYSITELIB}/elementtree/ElementInclude.pyo @@ -32,3 +30,6 @@ ${PYSITELIB}/elementtree/TidyTools.pyo ${PYSITELIB}/elementtree/XMLTreeBuilder.py ${PYSITELIB}/elementtree/XMLTreeBuilder.pyc ${PYSITELIB}/elementtree/XMLTreeBuilder.pyo +${PYSITELIB}/elementtree/__init__.py +${PYSITELIB}/elementtree/__init__.pyc +${PYSITELIB}/elementtree/__init__.pyo -- cgit v1.2.3