Index: head/Mk/Uses/pyqt.mk =================================================================== --- head/Mk/Uses/pyqt.mk +++ head/Mk/Uses/pyqt.mk @@ -84,8 +84,8 @@ _USE_PYQT4_ONLY= assistant declarative doc \ help phonon script scripttools # List of components only in pyqt5 -_USE_PYQT5_ONLY= multimediawidgets printsupport qml serialport \ - webchannel webengine webkitwidgets widgets +_USE_PYQT5_ONLY= multimediawidgets printsupport qml quickwidgets \ + serialport webchannel webengine webkitwidgets widgets # Unversioned variables for the rest of the file PYQT_VERSION= ${PYQT${_PYQT_VERSION}_VERSION} @@ -127,6 +127,7 @@ py-multimediawidgets_PATH= ${PYQT_PY_RELNAME}-multimediawidgets>=${PYQT_VERSION} py-qml_PATH= ${PYQT_PY_RELNAME}-qml>=${PYQT_VERSION} +py-quickwidgets_PATH= ${PYQT_PY_RELNAME}-quickwidgets>=${PYQT_VERSION} py-printsupport_PATH= ${PYQT_PY_RELNAME}-printsupport>=${PYQT_VERSION} py-serialport_PATH= ${PYQT_PY_RELNAME}-serialport>=${PYQT_VERSION} py-webkitwidgets_PATH= ${PYQT_PY_RELNAME}-webkitwidgets>=${PYQT_VERSION} @@ -163,6 +164,7 @@ py-multimediawidgets_PORT= multimedia/py-qt5-multimediawidgets py-qml_PORT= lang/py-qt5-qml +py-quickwidgets_PORT= x11-toolkits/py-qt5-quickwidgets py-printsupport_PORT= print/py-qt5-printsupport py-serialport_PORT= comms/py-qt5-serialport py-webkitwidgets_PORT= www/py-qt5-webkitwidgets @@ -197,6 +199,7 @@ py-multimediawidgets_DESC= Python bindings for QtMultimediaWidgets module py-qml_DESC= Python bindings for Qml module +py-quickwidgets_DESC= Python bindings for QtQuickWidgets module py-printsupport_DESC= Python bindings for Printsupport module py-serialport_DESC= Python bindings for QtSerialPort py-webkitwidgets_DESC= Python bindings for QtWebKitWidgets module Index: head/devel/py-qt5/Makefile =================================================================== --- head/devel/py-qt5/Makefile +++ head/devel/py-qt5/Makefile @@ -2,7 +2,7 @@ PORTNAME= qt5 PORTVERSION= ${PYQT5_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +15,8 @@ # Keep these synchronized with _USE_PYQT_ALL / _USE_PYQT5_ONLY in Mk/Use/pyqt.mk OPTIONS_DEFINE= core dbus dbussupport demo designer \ designerplugin gui multimedia multimediawidgets \ - network opengl printsupport qml qscintilla2 sql \ - serialport svg test webchannel webengine webkit \ + network opengl printsupport qml qscintilla2 quickwidgets \ + sql serialport svg test webchannel webengine webkit \ webkitwidgets widgets xml xmlpatterns OPTIONS_DEFAULT=${OPTIONS_DEFINE} Index: head/x11-toolkits/Makefile =================================================================== --- head/x11-toolkits/Makefile +++ head/x11-toolkits/Makefile @@ -213,6 +213,7 @@ SUBDIR += py-qt4-gui SUBDIR += py-qt5-gui SUBDIR += py-qt5-quick + SUBDIR += py-qt5-quickwidgets SUBDIR += py-qt5-widgets SUBDIR += py-sexy SUBDIR += py-tkinter Index: head/x11-toolkits/py-qt5-quickwidgets/Makefile =================================================================== --- head/x11-toolkits/py-qt5-quickwidgets/Makefile +++ head/x11-toolkits/py-qt5-quickwidgets/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= quickwidgets +CATEGORIES= x11-toolkits devel python + +MAINTAINER= kde@FreeBSD.org +COMMENT= Python bindings for the Qt5 toolkit, QtQuickWidgets module + +USES= python pyqt:5 qt:5 +USE_GL= gl +USE_PYQT= sip_build core_run gui_run +PYQT_DIST= yes +USE_PYTHON= flavors +USE_QT= core gui network qml quick widgets \ + qmake_build + +CONFIGURE_ARGS= --enable QtQuickWidgets + +OPTIONS_DEFINE= API DEBUG +OPTIONS_DEFAULT= API +OPTIONS_SUB= yes + +API_DESC= Install QtQuick API for QScintilla2 +API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${QSCIDIR} +API_CONFIGURE_OFF= --no-qsci-api +API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 +DEBUG_CONFIGURE_ON= --debug --trace + +.include Index: head/x11-toolkits/py-qt5-quickwidgets/pkg-descr =================================================================== --- head/x11-toolkits/py-qt5-quickwidgets/pkg-descr +++ head/x11-toolkits/py-qt5-quickwidgets/pkg-descr @@ -0,0 +1,4 @@ +PyQt5 is a set of Python bindings for Digia's Qt5 application framework. +This package provides the QtQuickWidgets module. + +WWW: https://riverbankcomputing.com/software/pyqt Index: head/x11-toolkits/py-qt5-quickwidgets/pkg-plist =================================================================== --- head/x11-toolkits/py-qt5-quickwidgets/pkg-plist +++ head/x11-toolkits/py-qt5-quickwidgets/pkg-plist @@ -0,0 +1,5 @@ +%%PYTHON_SITELIBDIR%%/PyQt5/QtQuickWidgets.pyi +%%PYTHON_SITELIBDIR%%/PyQt5/QtQuickWidgets.so +%%PYQT_SIPDIR%%/QtQuickWidgets/QtQuickWidgetsmod.sip +%%PYQT_SIPDIR%%/QtQuickWidgets/qquickwidget.sip +%%API%%%%QT_DATADIR%%/qsci/api/python/QtQuickWidgets.api