* 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.
This commit is contained in:
obache 2012-02-04 12:24:53 +00:00
parent eedc45b66a
commit a49b44295b
2 changed files with 11 additions and 11 deletions

View file

@ -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"

View file

@ -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