pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-qt4 For Python versions < 2.5, elementtree is i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fdeb3eeda3c
branches:  trunk
changeset: 552034:1fdeb3eeda3c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 23 22:22:16 2008 +0000

description:
For Python versions < 2.5, elementtree is included -- add it to PLIST.
Reported by Hasso Tepper.

diffstat:

 x11/py-qt4/Makefile          |  6 +++++-
 x11/py-qt4/PLIST.elementtree |  5 +++++
 2 files changed, 10 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r f3079a9b077b -r 1fdeb3eeda3c x11/py-qt4/Makefile
--- a/x11/py-qt4/Makefile       Tue Dec 23 21:46:14 2008 +0000
+++ b/x11/py-qt4/Makefile       Tue Dec 23 22:22:16 2008 +0000
@@ -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 @@
 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 -r f3079a9b077b -r 1fdeb3eeda3c x11/py-qt4/PLIST.elementtree
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-qt4/PLIST.elementtree      Tue Dec 23 22:22:16 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index