summaryrefslogtreecommitdiff
path: root/x11/py-qt4
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-23 22:22:16 +0000
committerwiz <wiz>2008-12-23 22:22:16 +0000
commit0f4858cb37b7c0c8f33b19669d05da82f70a7409 (patch)
tree42c842116f4a331b351f80c172dd7b49b793017a /x11/py-qt4
parenta6e760396d3200c947f862fbb0e45a041f999aa4 (diff)
downloadpkgsrc-0f4858cb37b7c0c8f33b19669d05da82f70a7409.tar.gz
For Python versions < 2.5, elementtree is included -- add it to PLIST.
Reported by Hasso Tepper.
Diffstat (limited to 'x11/py-qt4')
-rw-r--r--x11/py-qt4/Makefile6
-rw-r--r--x11/py-qt4/PLIST.elementtree5
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile
index 689e240851a..e66deeeed3f 100644
--- a/x11/py-qt4/Makefile
+++ b/x11/py-qt4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/12/16 06:44:43 hasso Exp $
+# $NetBSD: Makefile,v 1.5 2008/12/23 22:22:16 wiz Exp $
#
PKGNAME= ${PYPKGPREFIX}-qt4-${PYQT_VERSION}
@@ -42,6 +42,10 @@ PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
DISTNAME= PyQt-x11-gpl-${PYQT_VERSION}
PLIST_SRC+= ${PKGDIR}/PLIST.X11
.endif
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == "py24"
+PLIST_SRC+= ${PKGDIR}/PLIST.elementtree
+.endif
PLIST_SRC+= ${PKGDIR}/PLIST.common_end
CONFIGURE_ARGS+= --verbose
diff --git a/x11/py-qt4/PLIST.elementtree b/x11/py-qt4/PLIST.elementtree
new file mode 100644
index 00000000000..c038b74e213
--- /dev/null
+++ b/x11/py-qt4/PLIST.elementtree
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.elementtree,v 1.1 2008/12/23 22:22:16 wiz Exp $
+${PYSITELIB}/PyQt4/elementtree/ElementPath.py
+${PYSITELIB}/PyQt4/elementtree/ElementTree.py
+${PYSITELIB}/PyQt4/elementtree/__init__.py
+@dirrm ${PYSITELIB}/PyQt4/elementtree