aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/Uses/pyqt.mk7
-rw-r--r--devel/py-qt5/Makefile6
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/py-qt5-quickwidgets/Makefile29
-rw-r--r--x11-toolkits/py-qt5-quickwidgets/pkg-descr4
-rw-r--r--x11-toolkits/py-qt5-quickwidgets/pkg-plist5
6 files changed, 47 insertions, 5 deletions
diff --git a/Mk/Uses/pyqt.mk b/Mk/Uses/pyqt.mk
index f6c32fdf5a9f..f8fad207b893 100644
--- a/Mk/Uses/pyqt.mk
+++ b/Mk/Uses/pyqt.mk
@@ -84,8 +84,8 @@ _USE_PYQT_ALL= core dbus dbussupport demo designer designerplugin \
_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-xmlpatterns_PATH= ${PYQT_PY_RELNAME}-xmlpatterns>=${PYQT_VERSION}
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-xmlpatterns_PORT= textproc/${PYQT_RELNAME}-xmlpatterns
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-xmlpatterns_DESC= Python bindings for QtXmlPatterns module
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
diff --git a/devel/py-qt5/Makefile b/devel/py-qt5/Makefile
index 56387fd63071..42f3b33f1306 100644
--- a/devel/py-qt5/Makefile
+++ b/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 @@ USE_PYTHON= flavors
# 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}
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 46c1be2af44a..ed6ee769f485 100644
--- a/x11-toolkits/Makefile
+++ b/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
diff --git a/x11-toolkits/py-qt5-quickwidgets/Makefile b/x11-toolkits/py-qt5-quickwidgets/Makefile
new file mode 100644
index 000000000000..64f23b3982c1
--- /dev/null
+++ b/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 <bsd.port.mk>
diff --git a/x11-toolkits/py-qt5-quickwidgets/pkg-descr b/x11-toolkits/py-qt5-quickwidgets/pkg-descr
new file mode 100644
index 000000000000..27102f3c586a
--- /dev/null
+++ b/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
diff --git a/x11-toolkits/py-qt5-quickwidgets/pkg-plist b/x11-toolkits/py-qt5-quickwidgets/pkg-plist
new file mode 100644
index 000000000000..433d3d7fbb18
--- /dev/null
+++ b/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