aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-12-14 05:56:50 +0800
committerrakuco <rakuco@FreeBSD.org>2015-12-14 05:56:50 +0800
commit425ab2f470108aa2b2e552dfed54e18a676fdd64 (patch)
treec8ea48f297bee52a8d84f4ec84da2d9fa23078a5 /x11-toolkits
parentc9f665c0b4d537f42b2c6ec9d10e14303cc2afea (diff)
downloadfreebsd-ports-gnome-425ab2f470108aa2b2e552dfed54e18a676fdd64.tar.gz
freebsd-ports-gnome-425ab2f470108aa2b2e552dfed54e18a676fdd64.tar.zst
freebsd-ports-gnome-425ab2f470108aa2b2e552dfed54e18a676fdd64.zip
At very long last land PyQt5 5.5.1 ports.
Add the required bits to Uses/pyqt.mk along with all the PyQt5 ports. Thankfully this commit is mostly adding new ports, as the hard work was already done in r403297 and r403662. Huge kudos to Tobias Berner <tcberner@gmail.com> and, most importantly, Guido Falsi (madpilot@) for their initial work on these ports (see D2910 in Phabricator for an earlier version of the PyQt5 patch set). PR: 204672
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile2
-rw-r--r--x11-toolkits/py-qt5-gui/Makefile25
-rw-r--r--x11-toolkits/py-qt5-gui/pkg-descr4
-rw-r--r--x11-toolkits/py-qt5-gui/pkg-plist94
-rw-r--r--x11-toolkits/py-qt5-widgets/Makefile27
-rw-r--r--x11-toolkits/py-qt5-widgets/pkg-descr4
-rw-r--r--x11-toolkits/py-qt5-widgets/pkg-plist127
7 files changed, 283 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index b0cfab4af25b..e64089ec07a7 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -191,6 +191,8 @@
SUBDIR += py-kivy
SUBDIR += py-kiwi
SUBDIR += py-qt4-gui
+ SUBDIR += py-qt5-gui
+ SUBDIR += py-qt5-widgets
SUBDIR += py-sexy
SUBDIR += py-tkinter
SUBDIR += py32-tkinter
diff --git a/x11-toolkits/py-qt5-gui/Makefile b/x11-toolkits/py-qt5-gui/Makefile
new file mode 100644
index 000000000000..571a66b8b996
--- /dev/null
+++ b/x11-toolkits/py-qt5-gui/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= gui
+CATEGORIES= x11-toolkits devel python
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtGui module
+
+CONFIGURE_ARGS= --enable QtGui
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip_build core_run
+USE_QT5= core gui qmake_build imageformats_run
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtGui API for QScintilla2
+API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${QSCIDIR}
+API_CONFIGURE_OFF= --no-qsci-api
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-qt5-gui/pkg-descr b/x11-toolkits/py-qt5-gui/pkg-descr
new file mode 100644
index 000000000000..97afc3f5efff
--- /dev/null
+++ b/x11-toolkits/py-qt5-gui/pkg-descr
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtGui module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
diff --git a/x11-toolkits/py-qt5-gui/pkg-plist b/x11-toolkits/py-qt5-gui/pkg-plist
new file mode 100644
index 000000000000..16429f281e9e
--- /dev/null
+++ b/x11-toolkits/py-qt5-gui/pkg-plist
@@ -0,0 +1,94 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtGui.so
+%%PYQT_SIPDIR%%/QtGui/QtGuimod.sip
+%%PYQT_SIPDIR%%/QtGui/opengl_types.sip
+%%PYQT_SIPDIR%%/QtGui/qabstracttextdocumentlayout.sip
+%%PYQT_SIPDIR%%/QtGui/qbackingstore.sip
+%%PYQT_SIPDIR%%/QtGui/qbitmap.sip
+%%PYQT_SIPDIR%%/QtGui/qbrush.sip
+%%PYQT_SIPDIR%%/QtGui/qclipboard.sip
+%%PYQT_SIPDIR%%/QtGui/qcolor.sip
+%%PYQT_SIPDIR%%/QtGui/qcursor.sip
+%%PYQT_SIPDIR%%/QtGui/qdesktopservices.sip
+%%PYQT_SIPDIR%%/QtGui/qdrag.sip
+%%PYQT_SIPDIR%%/QtGui/qevent.sip
+%%PYQT_SIPDIR%%/QtGui/qfont.sip
+%%PYQT_SIPDIR%%/QtGui/qfontdatabase.sip
+%%PYQT_SIPDIR%%/QtGui/qfontinfo.sip
+%%PYQT_SIPDIR%%/QtGui/qfontmetrics.sip
+%%PYQT_SIPDIR%%/QtGui/qgenericmatrix.sip
+%%PYQT_SIPDIR%%/QtGui/qglyphrun.sip
+%%PYQT_SIPDIR%%/QtGui/qguiapplication.sip
+%%PYQT_SIPDIR%%/QtGui/qicon.sip
+%%PYQT_SIPDIR%%/QtGui/qiconengine.sip
+%%PYQT_SIPDIR%%/QtGui/qimage.sip
+%%PYQT_SIPDIR%%/QtGui/qimageiohandler.sip
+%%PYQT_SIPDIR%%/QtGui/qimagereader.sip
+%%PYQT_SIPDIR%%/QtGui/qimagewriter.sip
+%%PYQT_SIPDIR%%/QtGui/qinputmethod.sip
+%%PYQT_SIPDIR%%/QtGui/qkeysequence.sip
+%%PYQT_SIPDIR%%/QtGui/qmatrix4x4.sip
+%%PYQT_SIPDIR%%/QtGui/qmovie.sip
+%%PYQT_SIPDIR%%/QtGui/qoffscreensurface.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglbuffer.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglcontext.sip
+%%PYQT_SIPDIR%%/QtGui/qopengldebug.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglframebufferobject.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglpaintdevice.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglpixeltransferoptions.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglshaderprogram.sip
+%%PYQT_SIPDIR%%/QtGui/qopengltexture.sip
+%%PYQT_SIPDIR%%/QtGui/qopengltimerquery.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglversionfunctions.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglvertexarrayobject.sip
+%%PYQT_SIPDIR%%/QtGui/qopenglwindow.sip
+%%PYQT_SIPDIR%%/QtGui/qpagedpaintdevice.sip
+%%PYQT_SIPDIR%%/QtGui/qpagelayout.sip
+%%PYQT_SIPDIR%%/QtGui/qpagesize.sip
+%%PYQT_SIPDIR%%/QtGui/qpaintdevice.sip
+%%PYQT_SIPDIR%%/QtGui/qpaintdevicewindow.sip
+%%PYQT_SIPDIR%%/QtGui/qpaintengine.sip
+%%PYQT_SIPDIR%%/QtGui/qpainter.sip
+%%PYQT_SIPDIR%%/QtGui/qpainterpath.sip
+%%PYQT_SIPDIR%%/QtGui/qpalette.sip
+%%PYQT_SIPDIR%%/QtGui/qpdfwriter.sip
+%%PYQT_SIPDIR%%/QtGui/qpen.sip
+%%PYQT_SIPDIR%%/QtGui/qpicture.sip
+%%PYQT_SIPDIR%%/QtGui/qpixelformat.sip
+%%PYQT_SIPDIR%%/QtGui/qpixmap.sip
+%%PYQT_SIPDIR%%/QtGui/qpixmapcache.sip
+%%PYQT_SIPDIR%%/QtGui/qpolygon.sip
+%%PYQT_SIPDIR%%/QtGui/qpygui_qlist.sip
+%%PYQT_SIPDIR%%/QtGui/qpygui_qpair.sip
+%%PYQT_SIPDIR%%/QtGui/qpygui_qvector.sip
+%%PYQT_SIPDIR%%/QtGui/qquaternion.sip
+%%PYQT_SIPDIR%%/QtGui/qrasterwindow.sip
+%%PYQT_SIPDIR%%/QtGui/qrawfont.sip
+%%PYQT_SIPDIR%%/QtGui/qregion.sip
+%%PYQT_SIPDIR%%/QtGui/qrgb.sip
+%%PYQT_SIPDIR%%/QtGui/qscreen.sip
+%%PYQT_SIPDIR%%/QtGui/qsessionmanager.sip
+%%PYQT_SIPDIR%%/QtGui/qstandarditemmodel.sip
+%%PYQT_SIPDIR%%/QtGui/qstatictext.sip
+%%PYQT_SIPDIR%%/QtGui/qstylehints.sip
+%%PYQT_SIPDIR%%/QtGui/qsurface.sip
+%%PYQT_SIPDIR%%/QtGui/qsurfaceformat.sip
+%%PYQT_SIPDIR%%/QtGui/qsyntaxhighlighter.sip
+%%PYQT_SIPDIR%%/QtGui/qtextcursor.sip
+%%PYQT_SIPDIR%%/QtGui/qtextdocument.sip
+%%PYQT_SIPDIR%%/QtGui/qtextdocumentfragment.sip
+%%PYQT_SIPDIR%%/QtGui/qtextdocumentwriter.sip
+%%PYQT_SIPDIR%%/QtGui/qtextformat.sip
+%%PYQT_SIPDIR%%/QtGui/qtextlayout.sip
+%%PYQT_SIPDIR%%/QtGui/qtextlist.sip
+%%PYQT_SIPDIR%%/QtGui/qtextobject.sip
+%%PYQT_SIPDIR%%/QtGui/qtextoption.sip
+%%PYQT_SIPDIR%%/QtGui/qtexttable.sip
+%%PYQT_SIPDIR%%/QtGui/qtouchdevice.sip
+%%PYQT_SIPDIR%%/QtGui/qtransform.sip
+%%PYQT_SIPDIR%%/QtGui/qvalidator.sip
+%%PYQT_SIPDIR%%/QtGui/qvector2d.sip
+%%PYQT_SIPDIR%%/QtGui/qvector3d.sip
+%%PYQT_SIPDIR%%/QtGui/qvector4d.sip
+%%PYQT_SIPDIR%%/QtGui/qwindow.sip
+%%PYQT_SIPDIR%%/QtGui/qwindowdefs.sip
+%%API%%share/qt5/qsci/api/python/QtGui.api
diff --git a/x11-toolkits/py-qt5-widgets/Makefile b/x11-toolkits/py-qt5-widgets/Makefile
new file mode 100644
index 000000000000..618dd400ae4f
--- /dev/null
+++ b/x11-toolkits/py-qt5-widgets/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= widgets
+CATEGORIES= x11-toolkits devel python
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtWidgets module
+
+CONFIGURE_ARGS= --enable QtWidgets
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip_build core_run gui_run
+USE_QT5= core gui widgets qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtGui API for QScintilla2
+API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${QSCIDIR}
+API_CONFIGURE_OFF= --no-qsci-api
+API_LIB_DEPENDS= libqscintilla2-qt5.so:${PORTSDIR}/devel/qscintilla2-qt5
+DEBUG_CONFIGURE_ON= --debug --trace
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-qt5-widgets/pkg-descr b/x11-toolkits/py-qt5-widgets/pkg-descr
new file mode 100644
index 000000000000..2dcf93d2a243
--- /dev/null
+++ b/x11-toolkits/py-qt5-widgets/pkg-descr
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtWidgets module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
diff --git a/x11-toolkits/py-qt5-widgets/pkg-plist b/x11-toolkits/py-qt5-widgets/pkg-plist
new file mode 100644
index 000000000000..285febef8684
--- /dev/null
+++ b/x11-toolkits/py-qt5-widgets/pkg-plist
@@ -0,0 +1,127 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtWidgets.so
+%%PYQT_SIPDIR%%/QtWidgets/QtWidgetsmod.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractbutton.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractitemdelegate.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractitemview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractscrollarea.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractslider.sip
+%%PYQT_SIPDIR%%/QtWidgets/qabstractspinbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qaction.sip
+%%PYQT_SIPDIR%%/QtWidgets/qactiongroup.sip
+%%PYQT_SIPDIR%%/QtWidgets/qapplication.sip
+%%PYQT_SIPDIR%%/QtWidgets/qboxlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qbuttongroup.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcalendarwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcheckbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcolordialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcolumnview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcombobox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcommandlinkbutton.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcommonstyle.sip
+%%PYQT_SIPDIR%%/QtWidgets/qcompleter.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdatawidgetmapper.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdatetimeedit.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdesktopwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdial.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdialogbuttonbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdirmodel.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdockwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qdrawutil.sip
+%%PYQT_SIPDIR%%/QtWidgets/qerrormessage.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfiledialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfileiconprovider.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfilesystemmodel.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfocusframe.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfontcombobox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qfontdialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qformlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qframe.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgesture.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgesturerecognizer.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsanchorlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicseffect.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsgridlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsitem.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicslayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicslayoutitem.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicslinearlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsproxywidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsscene.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicssceneevent.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicstransform.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicsview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgraphicswidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgridlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qgroupbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qheaderview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qinputdialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qitemdelegate.sip
+%%PYQT_SIPDIR%%/QtWidgets/qitemeditorfactory.sip
+%%PYQT_SIPDIR%%/QtWidgets/qkeyeventtransition.sip
+%%PYQT_SIPDIR%%/QtWidgets/qkeysequenceedit.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlabel.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlayoutitem.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlcdnumber.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlineedit.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlistview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qlistwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmaccocoaviewcontainer.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmainwindow.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmdiarea.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmdisubwindow.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmenu.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmenubar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmessagebox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qmouseeventtransition.sip
+%%PYQT_SIPDIR%%/QtWidgets/qopenglwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qplaintextedit.sip
+%%PYQT_SIPDIR%%/QtWidgets/qprogressbar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qprogressdialog.sip
+%%PYQT_SIPDIR%%/QtWidgets/qproxystyle.sip
+%%PYQT_SIPDIR%%/QtWidgets/qpushbutton.sip
+%%PYQT_SIPDIR%%/QtWidgets/qpywidgets_qlist.sip
+%%PYQT_SIPDIR%%/QtWidgets/qradiobutton.sip
+%%PYQT_SIPDIR%%/QtWidgets/qrubberband.sip
+%%PYQT_SIPDIR%%/QtWidgets/qscrollarea.sip
+%%PYQT_SIPDIR%%/QtWidgets/qscrollbar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qscroller.sip
+%%PYQT_SIPDIR%%/QtWidgets/qscrollerproperties.sip
+%%PYQT_SIPDIR%%/QtWidgets/qshortcut.sip
+%%PYQT_SIPDIR%%/QtWidgets/qsizegrip.sip
+%%PYQT_SIPDIR%%/QtWidgets/qsizepolicy.sip
+%%PYQT_SIPDIR%%/QtWidgets/qslider.sip
+%%PYQT_SIPDIR%%/QtWidgets/qspinbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qsplashscreen.sip
+%%PYQT_SIPDIR%%/QtWidgets/qsplitter.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstackedlayout.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstackedwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstatusbar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstyle.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstyleditemdelegate.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstylefactory.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstyleoption.sip
+%%PYQT_SIPDIR%%/QtWidgets/qstylepainter.sip
+%%PYQT_SIPDIR%%/QtWidgets/qsystemtrayicon.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtabbar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtableview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtablewidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtabwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtextbrowser.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtextedit.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtoolbar.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtoolbox.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtoolbutton.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtooltip.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtreeview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtreewidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qtreewidgetitemiterator.sip
+%%PYQT_SIPDIR%%/QtWidgets/qundogroup.sip
+%%PYQT_SIPDIR%%/QtWidgets/qundostack.sip
+%%PYQT_SIPDIR%%/QtWidgets/qundoview.sip
+%%PYQT_SIPDIR%%/QtWidgets/qwhatsthis.sip
+%%PYQT_SIPDIR%%/QtWidgets/qwidget.sip
+%%PYQT_SIPDIR%%/QtWidgets/qwidgetaction.sip
+%%PYQT_SIPDIR%%/QtWidgets/qwizard.sip
+%%API%%share/qt5/qsci/api/python/QtWidgets.api