pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-elementtree * No need to buildlink with ob...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2035ee7f7903
branches:  trunk
changeset: 599062:2035ee7f7903
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 04 12:24:53 2012 +0000

description:
* 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.

diffstat:

 textproc/py-elementtree/Makefile |  13 ++++++-------
 textproc/py-elementtree/PLIST    |   9 +++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (52 lines):

diff -r 2259f29cfe41 -r 2035ee7f7903 textproc/py-elementtree/Makefile
--- a/textproc/py-elementtree/Makefile  Sat Feb 04 12:03:50 2012 +0000
+++ b/textproc/py-elementtree/Makefile  Sat Feb 04 12:24:53 2012 +0000
@@ -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 @@
 
 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 -r 2259f29cfe41 -r 2035ee7f7903 textproc/py-elementtree/PLIST
--- a/textproc/py-elementtree/PLIST     Sat Feb 04 12:03:50 2012 +0000
+++ b/textproc/py-elementtree/PLIST     Sat Feb 04 12:24:53 2012 +0000
@@ -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/XMLTreeBuilder.py
 ${PYSITELIB}/elementtree/XMLTreeBuilder.pyc
 ${PYSITELIB}/elementtree/XMLTreeBuilder.pyo
+${PYSITELIB}/elementtree/__init__.py
+${PYSITELIB}/elementtree/__init__.pyc
+${PYSITELIB}/elementtree/__init__.pyo



Home | Main Index | Thread Index | Old Index