pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-qt4 Import py-qt4-4.4.4 (packaged by wiz, min...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e67537a8fd65
branches:  trunk
changeset: 551322:e67537a8fd65
user:      epg <epg%pkgsrc.org@localhost>
date:      Sat Dec 13 05:17:02 2008 +0000

description:
Import py-qt4-4.4.4 (packaged by wiz, minor tweaks by me).

PyQt is a set of Python bindings for the Qt toolkit. PyQt brings
together the Qt C++ cross-platform toolkit and the cross-platform
interpreted language Python.  PyQt contains 300 classes and over
5,750 functions and methods.

PyQt also includes the pyuic and pylupdate utilities which correspond
to the Qt uic and lupdate utilities.  pyuic converts the GUI designs
created with Qt Designer to executable Python code.  pylupdate
scans Python code, extracts all strings that are candidates for
internationalisation, and creates an XML file for use by Qt Linguist.

The x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide
more Python modules for Qt.

diffstat:

 devel/py-qt4/DESCR            |    13 +
 devel/py-qt4/Makefile         |    67 +
 devel/py-qt4/PLIST.Darwin     |     2 +
 devel/py-qt4/PLIST.X11        |     3 +
 devel/py-qt4/PLIST.common     |   404 +++++++++
 devel/py-qt4/PLIST.common_end |    23 +
 devel/py-qt4/configure.py     |  1840 +++++++++++++++++++++++++++++++++++++++++
 devel/py-qt4/distinfo         |     6 +
 devel/py-qt4/patches/patch-aa |    19 +
 9 files changed, 2377 insertions(+), 0 deletions(-)

diffs (truncated from 2413 to 300 lines):

diff -r 890a124dfcaf -r e67537a8fd65 devel/py-qt4/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-qt4/DESCR        Sat Dec 13 05:17:02 2008 +0000
@@ -0,0 +1,13 @@
+PyQt is a set of Python bindings for the Qt toolkit. PyQt brings
+together the Qt C++ cross-platform toolkit and the cross-platform
+interpreted language Python.  PyQt contains 300 classes and over
+5,750 functions and methods.
+
+PyQt also includes the pyuic and pylupdate utilities which correspond
+to the Qt uic and lupdate utilities.  pyuic converts the GUI designs
+created with Qt Designer to executable Python code.  pylupdate
+scans Python code, extracts all strings that are candidates for
+internationalisation, and creates an XML file for use by Qt Linguist.
+
+The x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide
+more Python modules for Qt.
diff -r 890a124dfcaf -r e67537a8fd65 devel/py-qt4/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-qt4/Makefile     Sat Dec 13 05:17:02 2008 +0000
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/13 05:17:02 epg Exp $
+#
+
+PKGNAME=               ${PYPKGPREFIX}-qt4-${PYQT_VERSION}
+PYQT_VERSION=          4.4.4
+CATEGORIES=            x11 python
+MASTER_SITES=          http://www.riverbankcomputing.com/static/Downloads/PyQt4/
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+COMMENT=               Python binding for Qt4
+HOMEPAGE=              http://www.riverbankcomputing.com/software/pyqt/intro
+
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake pkg-config
+USE_LANGUAGES=         c c++
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+CONFIGURE_ARGS+=       -b ${PREFIX}/bin
+CONFIGURE_ARGS+=       -d ${PREFIX}/${PYSITELIB}
+CONFIGURE_ARGS+=       -v ${PREFIX}/share/sip${PYVERSSUFFIX}
+CONFIGURE_ARGS+=       -q ${QTDIR}/bin/qmake
+# XXX: should not be necessary, but framework thinks pkgsrc only has static
+# qt4 libraries
+#epg fixed? with patch-aa
+#CONFIGURE_ARGS+=      -k
+CONFIGURE_ARGS+=       --confirm-license
+
+PYTHON_VERSIONS_ACCEPTED=      25 24 23
+PY_PATCHPLIST=                 yes
+PLIST_SUBST+=                  PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+
+#SUBST_CLASSES+=               pyversfx
+#SUBST_STAGE.pyversfx= pre-configure
+#SUBST_FILES.pyversfx= pyuic4/pyuic.sbf pylupdate4/pylupdate.sbf
+#SUBST_SED.pyversfx=   -e "s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC=             ${PKGDIR}/PLIST.common
+.if ${OPSYS} == "Darwin"
+DISTNAME=              PyQt-mac-gpl-${PYQT_VERSION}
+PLIST_SRC+=            ${PKGDIR}/PLIST.Darwin
+.else
+DISTNAME=              PyQt-x11-gpl-${PYQT_VERSION}
+PLIST_SRC+=            ${PKGDIR}/PLIST.X11
+.endif
+PLIST_SRC+=            ${PKGDIR}/PLIST.common_end
+
+CONFIGURE_ARGS+=       --verbose
+do-configure:
+       (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               ${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
+
+.include "../../lang/python/extension.mk"
+BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.7.9
+.include "../../x11/py-sip/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/py-dbus/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+BUILDLINK_API_DEPENDS.qt4-tools+=      qt4-tools>=4.4.0nb1
+.include "../../x11/qt4-tools/buildlink3.mk"
+# ${PYSITELIB}/qt.so depends on libqassistantclient.so
+#  which is part of qt4-tools, so we need a runtime dependency
+#  XXX split this pkg?
+BUILDLINK_DEPMETHOD.qt4-tools= full
+.include "../../mk/bsd.pkg.mk"
diff -r 890a124dfcaf -r e67537a8fd65 devel/py-qt4/PLIST.Darwin
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-qt4/PLIST.Darwin Sat Dec 13 05:17:02 2008 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1.1.1 2008/12/13 05:17:02 epg Exp $
+share/sip${PYVERSSUFFIX}/qt/qwindowdefs_mac.sip
diff -r 890a124dfcaf -r e67537a8fd65 devel/py-qt4/PLIST.X11
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-qt4/PLIST.X11    Sat Dec 13 05:17:02 2008 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.X11,v 1.1.1.1 2008/12/13 05:17:02 epg Exp $
+share/sip${PYVERSSUFFIX}/QtGui/qx11embed_x11.sip
+share/sip${PYVERSSUFFIX}/QtGui/qx11info_x11.sip
diff -r 890a124dfcaf -r e67537a8fd65 devel/py-qt4/PLIST.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-qt4/PLIST.common Sat Dec 13 05:17:02 2008 +0000
@@ -0,0 +1,404 @@
+@comment $NetBSD: PLIST.common,v 1.1.1.1 2008/12/13 05:17:02 epg Exp $
+bin/pylupdate4
+bin/pyrcc4
+bin/pyuic4
+${PYSITELIB}/PyQt4/Qt.so
+${PYSITELIB}/PyQt4/QtAssistant.so
+${PYSITELIB}/PyQt4/QtCore.so
+${PYSITELIB}/PyQt4/QtDesigner.so
+${PYSITELIB}/PyQt4/QtGui.so
+${PYSITELIB}/PyQt4/QtHelp.so
+${PYSITELIB}/PyQt4/QtNetwork.so
+${PYSITELIB}/PyQt4/QtOpenGL.so
+${PYSITELIB}/PyQt4/QtScript.so
+${PYSITELIB}/PyQt4/QtSql.so
+${PYSITELIB}/PyQt4/QtSvg.so
+${PYSITELIB}/PyQt4/QtTest.so
+${PYSITELIB}/PyQt4/QtWebKit.so
+${PYSITELIB}/PyQt4/QtXml.so
+${PYSITELIB}/PyQt4/__init__.py
+${PYSITELIB}/PyQt4/pyqtconfig.py
+${PYSITELIB}/PyQt4/uic/Compiler/__init__.py
+${PYSITELIB}/PyQt4/uic/Compiler/compiler.py
+${PYSITELIB}/PyQt4/uic/Compiler/indenter.py
+${PYSITELIB}/PyQt4/uic/Compiler/qobjectcreator.py
+${PYSITELIB}/PyQt4/uic/Compiler/qtproxies.py
+${PYSITELIB}/PyQt4/uic/Loader/__init__.py
+${PYSITELIB}/PyQt4/uic/Loader/loader.py
+${PYSITELIB}/PyQt4/uic/Loader/qobjectcreator.py
+${PYSITELIB}/PyQt4/uic/__init__.py
+${PYSITELIB}/PyQt4/uic/exceptions.py
+${PYSITELIB}/PyQt4/uic/icon_cache.py
+${PYSITELIB}/PyQt4/uic/objcreator.py
+${PYSITELIB}/PyQt4/uic/properties.py
+${PYSITELIB}/PyQt4/uic/pyuic.py
+${PYSITELIB}/PyQt4/uic/uiparser.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qaxcontainer.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qscintilla.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qtwebkit.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qwt.py
+${PYSITELIB}/dbus/mainloop/qt.so
+share/sip${PYVERSSUFFIX}/Qt/Qtmod.sip
+share/sip${PYVERSSUFFIX}/QtAssistant/QtAssistantmod.sip
+share/sip${PYVERSSUFFIX}/QtAssistant/qassistantclient.sip
+share/sip${PYVERSSUFFIX}/QtCore/QtCoremod.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstracteventdispatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstractfileengine.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstractitemmodel.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbasictimer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbitarray.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbuffer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbytearray.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbytearraymatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qchar.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcoreapplication.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcoreevent.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcryptographichash.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdatastream.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdatetime.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdir.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdiriterator.sip
+share/sip${PYVERSSUFFIX}/QtCore/qeventloop.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfile.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfileinfo.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfilesystemwatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfsfileengine.sip
+share/sip${PYVERSSUFFIX}/QtCore/qglobal.sip
+share/sip${PYVERSSUFFIX}/QtCore/qhash.sip
+share/sip${PYVERSSUFFIX}/QtCore/qiodevice.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlibrary.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlibraryinfo.sip
+share/sip${PYVERSSUFFIX}/QtCore/qline.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlist.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlocale.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmap.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmetaobject.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmetatype.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmimedata.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmutex.sip
+share/sip${PYVERSSUFFIX}/QtCore/qnamespace.sip
+share/sip${PYVERSSUFFIX}/QtCore/qnumeric.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobject.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobjectcleanuphandler.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobjectdefs.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpair.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpluginloader.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpoint.sip
+share/sip${PYVERSSUFFIX}/QtCore/qprocess.sip
+share/sip${PYVERSSUFFIX}/QtCore/qreadwritelock.sip
+share/sip${PYVERSSUFFIX}/QtCore/qrect.sip
+share/sip${PYVERSSUFFIX}/QtCore/qregexp.sip
+share/sip${PYVERSSUFFIX}/QtCore/qresource.sip
+share/sip${PYVERSSUFFIX}/QtCore/qrunnable.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsemaphore.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsettings.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsharedmemory.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsignalmapper.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsize.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsocketnotifier.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstring.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstringlist.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstringmatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsystemsemaphore.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtemporaryfile.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextboundaryfinder.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextcodec.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextstream.sip
+share/sip${PYVERSSUFFIX}/QtCore/qthread.sip
+share/sip${PYVERSSUFFIX}/QtCore/qthreadpool.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtimeline.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtimer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtranslator.sip
+share/sip${PYVERSSUFFIX}/QtCore/qurl.sip
+share/sip${PYVERSSUFFIX}/QtCore/quuid.sip
+share/sip${PYVERSSUFFIX}/QtCore/qvariant.sip
+share/sip${PYVERSSUFFIX}/QtCore/qvector.sip
+share/sip${PYVERSSUFFIX}/QtCore/qwaitcondition.sip
+share/sip${PYVERSSUFFIX}/QtCore/qxmlstream.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/QtDesignermod.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractactioneditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformbuilder.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformeditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindow.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindowcursor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindowmanager.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractobjectinspector.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractpropertyeditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractwidgetbox.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/container.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/customwidget.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/default_extensionfactory.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/extension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/formbuilder.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/membersheet.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/propertysheet.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qextensionmanager.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercontainerextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercustomwidgetplugin.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignermembersheetextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignerpropertysheetextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignertaskmenuextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/taskmenu.sip
+share/sip${PYVERSSUFFIX}/QtGui/QtGuimod.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractitemdelegate.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractitemview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractprintdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractproxymodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractscrollarea.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractslider.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractspinbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstracttextdocumentlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qaction.sip
+share/sip${PYVERSSUFFIX}/QtGui/qactiongroup.sip
+share/sip${PYVERSSUFFIX}/QtGui/qapplication.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbitmap.sip
+share/sip${PYVERSSUFFIX}/QtGui/qboxlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbrush.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbuttongroup.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcalendarwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcheckbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qclipboard.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolor.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolordialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolumnview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcombobox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcommandlinkbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcompleter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcursor.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdatawidgetmapper.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdatetimeedit.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdesktopservices.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdesktopwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdial.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdialogbuttonbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdirmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdockwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdrag.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdrawutil.sip
+share/sip${PYVERSSUFFIX}/QtGui/qerrormessage.sip
+share/sip${PYVERSSUFFIX}/QtGui/qevent.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfiledialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfileiconprovider.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfilesystemmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfocusframe.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfont.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontcombobox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontdatabase.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontinfo.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontmetrics.sip
+share/sip${PYVERSSUFFIX}/QtGui/qformlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qframe.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsgridlayout.sip



Home | Main Index | Thread Index | Old Index