summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-02-04 12:24:53 +0000
committerobache <obache@pkgsrc.org>2012-02-04 12:24:53 +0000
commit12c653b192d88e4d20a21426f7936cb2ba677fe0 (patch)
treecd5c9b86a7b28cfbc6e6aca3e1ab3d97fab3841a
parented66dbdb9d403105717b2bf558c439c2cd1ff127 (diff)
downloadpkgsrc-12c653b192d88e4d20a21426f7936cb2ba677fe0.tar.gz
* 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.
-rw-r--r--textproc/py-elementtree/Makefile13
-rw-r--r--textproc/py-elementtree/PLIST9
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