diff options
author | wiz <wiz> | 2008-12-23 22:22:16 +0000 |
---|---|---|
committer | wiz <wiz> | 2008-12-23 22:22:16 +0000 |
commit | 0663d96cae3c4142bc1d3045139d0fcfcf316750 (patch) | |
tree | 42c842116f4a331b351f80c172dd7b49b793017a /x11/py-qt4 | |
parent | 442e0a4a595583e5cd252fba1a8196981e98caa8 (diff) | |
download | pkgsrc-0663d96cae3c4142bc1d3045139d0fcfcf316750.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/Makefile | 6 | ||||
-rw-r--r-- | x11/py-qt4/PLIST.elementtree | 5 |
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 |