svn commit: r403693 - in head: Mk/Uses comms comms/py-qt5-serialport databases databases/py-qt5-sql devel devel/py-qt5 devel/py-qt5-core devel/py-qt5-core/files devel/py-qt5-dbus devel/py-qt5-dbuss...
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Dec 13 21:56:55 UTC 2015
Author: rakuco
Date: Sun Dec 13 21:56:50 2015
New Revision: 403693
URL: https://svnweb.freebsd.org/changeset/ports/403693
Log:
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 at 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
Added:
head/comms/py-qt5-serialport/
head/comms/py-qt5-serialport/Makefile (contents, props changed)
head/comms/py-qt5-serialport/pkg-descr (contents, props changed)
head/comms/py-qt5-serialport/pkg-plist (contents, props changed)
head/databases/py-qt5-sql/
head/databases/py-qt5-sql/Makefile (contents, props changed)
head/databases/py-qt5-sql/pkg-descr (contents, props changed)
head/databases/py-qt5-sql/pkg-plist (contents, props changed)
head/devel/py-qt5/
head/devel/py-qt5-core/
head/devel/py-qt5-core/Makefile (contents, props changed)
head/devel/py-qt5-core/files/
head/devel/py-qt5-core/files/Qt.py (contents, props changed)
head/devel/py-qt5-core/files/patch-configure.py (contents, props changed)
head/devel/py-qt5-core/pkg-descr (contents, props changed)
head/devel/py-qt5-core/pkg-plist (contents, props changed)
head/devel/py-qt5-dbus/
head/devel/py-qt5-dbus/Makefile (contents, props changed)
head/devel/py-qt5-dbus/pkg-descr (contents, props changed)
head/devel/py-qt5-dbus/pkg-plist (contents, props changed)
head/devel/py-qt5-dbussupport/
head/devel/py-qt5-dbussupport/Makefile (contents, props changed)
head/devel/py-qt5-dbussupport/pkg-descr (contents, props changed)
head/devel/py-qt5-designer/
head/devel/py-qt5-designer/Makefile (contents, props changed)
head/devel/py-qt5-designer/pkg-descr (contents, props changed)
head/devel/py-qt5-designer/pkg-plist (contents, props changed)
head/devel/py-qt5-designerplugin/
head/devel/py-qt5-designerplugin/Makefile (contents, props changed)
head/devel/py-qt5-designerplugin/pkg-descr (contents, props changed)
head/devel/py-qt5-qscintilla2/
head/devel/py-qt5-qscintilla2/Makefile (contents, props changed)
head/devel/py-qt5-qscintilla2/pkg-descr (contents, props changed)
head/devel/py-qt5-qscintilla2/pkg-plist (contents, props changed)
head/devel/py-qt5-test/
head/devel/py-qt5-test/Makefile (contents, props changed)
head/devel/py-qt5-test/pkg-descr (contents, props changed)
head/devel/py-qt5-test/pkg-plist (contents, props changed)
head/devel/py-qt5/Makefile (contents, props changed)
head/devel/py-qt5/distinfo (contents, props changed)
head/devel/py-qt5/pkg-descr (contents, props changed)
head/devel/qscintilla2-designerplugin-qt5/
head/devel/qscintilla2-designerplugin-qt5/Makefile (contents, props changed)
head/devel/qscintilla2-designerplugin-qt5/pkg-descr (contents, props changed)
head/devel/qscintilla2-qt5/
head/devel/qscintilla2-qt5/Makefile (contents, props changed)
head/devel/qscintilla2-qt5/distinfo (contents, props changed)
head/devel/qscintilla2-qt5/files/
head/devel/qscintilla2-qt5/files/patch-Qt4Qt5_features_qscintilla2.prf (contents, props changed)
head/devel/qscintilla2-qt5/files/patch-Qt4Qt5_qscintilla.pro (contents, props changed)
head/devel/qscintilla2-qt5/pkg-descr (contents, props changed)
head/devel/qscintilla2-qt5/pkg-plist (contents, props changed)
head/graphics/py-qt5-svg/
head/graphics/py-qt5-svg/Makefile (contents, props changed)
head/graphics/py-qt5-svg/pkg-descr (contents, props changed)
head/graphics/py-qt5-svg/pkg-plist (contents, props changed)
head/lang/py-qt5-qml/
head/lang/py-qt5-qml/Makefile (contents, props changed)
head/lang/py-qt5-qml/pkg-descr (contents, props changed)
head/lang/py-qt5-qml/pkg-plist (contents, props changed)
head/misc/py-qt5-demo/
head/misc/py-qt5-demo/Makefile (contents, props changed)
head/misc/py-qt5-demo/pkg-descr (contents, props changed)
head/misc/py-qt5-demo/pkg-plist (contents, props changed)
head/misc/py-qt5-doc/
head/misc/py-qt5-doc/Makefile (contents, props changed)
head/misc/py-qt5-doc/pkg-descr (contents, props changed)
head/misc/py-qt5-doc/pkg-plist (contents, props changed)
head/multimedia/py-qt5-multimedia/
head/multimedia/py-qt5-multimedia/Makefile (contents, props changed)
head/multimedia/py-qt5-multimedia/pkg-descr (contents, props changed)
head/multimedia/py-qt5-multimedia/pkg-plist (contents, props changed)
head/multimedia/py-qt5-multimediawidgets/
head/multimedia/py-qt5-multimediawidgets/Makefile (contents, props changed)
head/multimedia/py-qt5-multimediawidgets/pkg-descr (contents, props changed)
head/multimedia/py-qt5-multimediawidgets/pkg-plist (contents, props changed)
head/net/py-qt5-network/
head/net/py-qt5-network/Makefile (contents, props changed)
head/net/py-qt5-network/pkg-descr (contents, props changed)
head/net/py-qt5-network/pkg-plist (contents, props changed)
head/print/py-qt5-printsupport/
head/print/py-qt5-printsupport/Makefile (contents, props changed)
head/print/py-qt5-printsupport/pkg-descr (contents, props changed)
head/print/py-qt5-printsupport/pkg-plist (contents, props changed)
head/textproc/py-qt5-xml/
head/textproc/py-qt5-xml/Makefile (contents, props changed)
head/textproc/py-qt5-xml/pkg-descr (contents, props changed)
head/textproc/py-qt5-xml/pkg-plist (contents, props changed)
head/textproc/py-qt5-xmlpatterns/
head/textproc/py-qt5-xmlpatterns/Makefile (contents, props changed)
head/textproc/py-qt5-xmlpatterns/pkg-descr (contents, props changed)
head/textproc/py-qt5-xmlpatterns/pkg-plist (contents, props changed)
head/www/py-qt5-webkit/
head/www/py-qt5-webkit/Makefile (contents, props changed)
head/www/py-qt5-webkit/pkg-descr (contents, props changed)
head/www/py-qt5-webkit/pkg-plist (contents, props changed)
head/www/py-qt5-webkitwidgets/
head/www/py-qt5-webkitwidgets/Makefile (contents, props changed)
head/www/py-qt5-webkitwidgets/pkg-descr (contents, props changed)
head/www/py-qt5-webkitwidgets/pkg-plist (contents, props changed)
head/x11-toolkits/py-qt5-gui/
head/x11-toolkits/py-qt5-gui/Makefile (contents, props changed)
head/x11-toolkits/py-qt5-gui/pkg-descr (contents, props changed)
head/x11-toolkits/py-qt5-gui/pkg-plist (contents, props changed)
head/x11-toolkits/py-qt5-widgets/
head/x11-toolkits/py-qt5-widgets/Makefile (contents, props changed)
head/x11-toolkits/py-qt5-widgets/pkg-descr (contents, props changed)
head/x11-toolkits/py-qt5-widgets/pkg-plist (contents, props changed)
head/x11/py-qt5-opengl/
head/x11/py-qt5-opengl/Makefile (contents, props changed)
head/x11/py-qt5-opengl/pkg-descr (contents, props changed)
head/x11/py-qt5-opengl/pkg-plist (contents, props changed)
Modified:
head/Mk/Uses/pyqt.mk
head/comms/Makefile
head/databases/Makefile
head/devel/Makefile
head/graphics/Makefile
head/lang/Makefile
head/misc/Makefile
head/multimedia/Makefile
head/net/Makefile
head/print/Makefile
head/textproc/Makefile
head/www/Makefile
head/x11-toolkits/Makefile
head/x11/Makefile
Modified: head/Mk/Uses/pyqt.mk
==============================================================================
--- head/Mk/Uses/pyqt.mk Sun Dec 13 21:46:45 2015 (r403692)
+++ head/Mk/Uses/pyqt.mk Sun Dec 13 21:56:50 2015 (r403693)
@@ -4,12 +4,12 @@
#
# Feature: pyqt
# Usage: USES=pyqt:ARGS
-# Valid ARGS: 4
+# Valid ARGS: 4,5
#
# MAINTAINER: kde at FreeBSD.org
#
# Internal Port variables for PyQt ports:
-# PYQT_DIST - This port is part of PyQt4 itself. Variables and
+# PYQT_DIST - This port is part of PyQt4/5 itself. Variables and
# targets are then set assuming a certain tarball and
# port layout.
# USE_PYQT - List of PyQt components to depend on
@@ -25,15 +25,15 @@
.if !defined(_INCLUDE_USES_PYQT_MK)
_INCLUDE_USES_PYQT_MK= yes
-# At the moment we support PyQt bindings versions 4, sip
+# At the moment we support PyQt bindings versions 4 and 5, sip
# option is for internal use by the py-sip ports.
-_PYQT_SUPPORTED= 4 sip
+_PYQT_SUPPORTED= 4 5 sip
.if empty(pyqt_ARGS)
IGNORE= pyqt needs a qt-version (${_PYQT_SUPPORTED})
.endif
-# At the moment we support PyQt bindings version 4
+# At the moment we support PyQt bindings versions 4 and 5
.for ver in ${_PYQT_SUPPORTED:O:u}
. if ${pyqt_ARGS:M${ver}}
. if empty(_PYQT_VERSION)
@@ -56,26 +56,33 @@ MASTER_SITES_SIP= SF/pyqt/sip/sip-${PORT
GENTOO
MASTER_SITES_PYQT4= SF/pyqt/PyQt4/PyQt-${PORTVERSION} \
GENTOO
+MASTER_SITES_PYQT5= SF/pyqt/PyQt5/PyQt-${PORTVERSION} \
+ GENTOO
MASTER_SITES_QSCI2= SF/pyqt/QScintilla2/QScintilla-${PORTVERSION} \
GENTOO
SIP_VERSION= 4.17
QSCI2_VERSION= 2.9.1
PYQT4_VERSION= 4.11.4
+PYQT5_VERSION= 5.5.1
SIP_DISTNAME= sip-${SIP_VERSION}
PYQT4_DISTNAME= PyQt-x11-gpl-${PYQT4_VERSION}
PYQT4_DISTINFO_FILE= ${.CURDIR}/../../devel/${PYQT_RELNAME}/distinfo
+PYQT5_DISTNAME= PyQt-gpl-${PYQT5_VERSION}
+PYQT5_DISTINFO_FILE= ${.CURDIR}/../../devel/py-qt5/distinfo
QSCI2_DISTNAME= QScintilla-gpl-${QSCI2_VERSION}
-# PyQt components split up into pyqt4/pyqt5 (upcoming)/...
-_USE_PYQT_ALL= core dbus demo designer doc gui \
+# PyQt components split up into pyqt4/pyqt5/...
+_USE_PYQT_ALL= core dbus demo designer designerplugin doc gui \
multimedia network opengl qscintilla2 \
sql svg test webkit xml xmlpatterns sip
# List of components only in pyqt4
_USE_PYQT4_ONLY= assistant declarative dbussupport \
- designerplugin help phonon script \
- scripttools
+ help phonon script scripttools
+# List of components only in pyqt5
+_USE_PYQT5_ONLY= multimediawidgets printsupport qml serialport \
+ webkitwidgets widgets
# Unversioned variables for the rest of the file
PYQT_VERSION= ${PYQT${_PYQT_VERSION}_VERSION}
@@ -112,6 +119,13 @@ py-webkit_PATH= ${PYQT_PY_RELNAME}-webk
py-xml_PATH= ${PYQT_PY_RELNAME}-xml>=${PYQT_VERSION}
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-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}
+py-widgets_PATH= ${PYQT_PY_RELNAME}-widgets>=${PYQT_VERSION}
+
py-sip_PORT= devel/py-sip
py-assistant_PORT= devel/${PYQT_RELNAME}-assistant
@@ -139,6 +153,13 @@ py-webkit_PORT= www/${PYQT_RELNAME}-web
py-xml_PORT= textproc/${PYQT_RELNAME}-xml
py-xmlpatterns_PORT= textproc/${PYQT_RELNAME}-xmlpatterns
+py-multimediawidgets_PORT= multimedia/py-qt5-multimediawidgets
+py-qml_PORT= lang/py-qt5-qml
+py-printsupport_PORT= print/py-qt5-printsupport
+py-serialport_PORT= comms/py-qt5-serialport
+py-webkitwidgets_PORT= www/py-qt5-webkitwidgets
+py-widgets_PORT= x11-toolkits/py-qt5-widgets
+
py-assistant_DESC= Python bindings for QtAssistant module
py-core_DESC= Python bindings for QtCore module
py-dbus_DESC= Python bindings for QtDBus module
@@ -164,6 +185,13 @@ py-webkit_DESC= Python bindings for QtW
py-xml_DESC= Python bindings for QtXml module
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-printsupport_DESC= Python bindings for Printsupport module
+py-serialport_DESC= Python bindings for QtSerialPort
+py-webkitwidgets_DESC= Python bindings for QtWebKitWidgets module
+py-widgets_DESC= Python bindings for QTWidgets module
+
SIPDIR_REL= share/py-sip/PyQt${_PYQT_VERSION}
SIPDIR= ${PREFIX}/${SIPDIR_REL}
PLIST_SUB+= PYQT_SIPDIR=${SIPDIR_REL}
@@ -177,6 +205,12 @@ DISTINFO_FILE= ${PYQT_DISTINFO_FILE}
HAS_CONFIGURE= yes
QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS.
+.if ${_PYQT_VERSION} > 4
+# PyQt5's configure.py generates .pro files and calls qmake to generate the
+# Makefiles. qmake's Makefiles use INSTALL_ROOT instead of DESTDIR.
+DESTDIRNAME= INSTALL_ROOT
+.endif
+
PATCHDIR= ${.CURDIR}/../../devel/${PYQT_RELNAME}-core/files
QSCIDIR= ${PREFIX}/share/qt${_PYQT_VERSION}/qsci
CONFIGURE_ARGS+=-b ${PREFIX}/bin \
Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile Sun Dec 13 21:46:45 2015 (r403692)
+++ head/comms/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -133,6 +133,7 @@
SUBDIR += py-libconcord
SUBDIR += py-libimobiledevice
SUBDIR += py-lirc
+ SUBDIR += py-qt5-serialport
SUBDIR += py-serial
SUBDIR += pyla
SUBDIR += qico
Added: head/comms/py-qt5-serialport/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-qt5-serialport/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= serialport
+CATEGORIES= comms devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtSerialPort module
+
+CONFIGURE_ARGS= --enable QtSerialPort
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip_build core_run
+USE_QT5= core gui serialport qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtSerialPort 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>
Added: head/comms/py-qt5-serialport/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-qt5-serialport/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtSerialPort module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/comms/py-qt5-serialport/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-qt5-serialport/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,5 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtSerialPort.so
+%%PYQT_SIPDIR%%/QtSerialPort/QtSerialPortmod.sip
+%%PYQT_SIPDIR%%/QtSerialPort/qserialport.sip
+%%PYQT_SIPDIR%%/QtSerialPort/qserialportinfo.sip
+%%API%%share/qt5/qsci/api/python/QtSerialPort.api
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Sun Dec 13 21:46:45 2015 (r403692)
+++ head/databases/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -761,6 +761,7 @@
SUBDIR += py-python-rrdtool
SUBDIR += py-python-sql
SUBDIR += py-qt4-sql
+ SUBDIR += py-qt5-sql
SUBDIR += py-redis
SUBDIR += py-riak
SUBDIR += py-rrdtool_lgpl
Added: head/databases/py-qt5-sql/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-qt5-sql/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= sql
+CATEGORIES= databases devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtSql module
+
+CONFIGURE_ARGS= --enable QtSql
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip_build core_run widgets_run
+USE_QT5= core gui sql widgets buildtools_build qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtSql 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>
Added: head/databases/py-qt5-sql/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-qt5-sql/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtSql module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/databases/py-qt5-sql/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-qt5-sql/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,16 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtSql.so
+%%PYQT_SIPDIR%%/QtSql/QtSqlmod.sip
+%%PYQT_SIPDIR%%/QtSql/qsql.sip
+%%PYQT_SIPDIR%%/QtSql/qsqldatabase.sip
+%%PYQT_SIPDIR%%/QtSql/qsqldriver.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlerror.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlfield.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlindex.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlquery.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlquerymodel.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlrecord.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlrelationaldelegate.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlrelationaltablemodel.sip
+%%PYQT_SIPDIR%%/QtSql/qsqlresult.sip
+%%PYQT_SIPDIR%%/QtSql/qsqltablemodel.sip
+%%API%%share/qt5/qsci/api/python/QtSql.api
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Dec 13 21:46:45 2015 (r403692)
+++ head/devel/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -4262,6 +4262,14 @@
SUBDIR += py-qt4-script
SUBDIR += py-qt4-scripttools
SUBDIR += py-qt4-test
+ SUBDIR += py-qt5
+ SUBDIR += py-qt5-core
+ SUBDIR += py-qt5-dbus
+ SUBDIR += py-qt5-dbussupport
+ SUBDIR += py-qt5-designer
+ SUBDIR += py-qt5-designerplugin
+ SUBDIR += py-qt5-qscintilla2
+ SUBDIR += py-qt5-test
SUBDIR += py-rauth
SUBDIR += py-raven
SUBDIR += py-rednose
@@ -4528,6 +4536,8 @@
SUBDIR += qross
SUBDIR += qscintilla2
SUBDIR += qscintilla2-designerplugin
+ SUBDIR += qscintilla2-qt5
+ SUBDIR += qscintilla2-designerplugin-qt5
SUBDIR += qt4
SUBDIR += qt4-assistant
SUBDIR += qt4-assistant-adp
Added: head/devel/py-qt5-core/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-core/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,50 @@
+# $FreeBSD$
+
+PORTNAME= core
+CATEGORIES= devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtCore module
+
+CONFIGURE_ARGS= --enable QtCore
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_PYTHON= py3kplist
+USE_PYQT= sip_build
+USE_QT5= core qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtCore 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.pre.mk>
+
+# Bug 180467: We need to remove the port_v${VERSION} directory that does not
+# correspond to the Python version being used to avoid failures in the
+# bytecompilation calls in post-install.
+PLIST_SUB+= PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}"
+post-patch:
+.if ${PYTHON_MAJOR_VER} == "2"
+ ${RM} -rf ${WRKSRC}/pyuic/uic/port_v3
+.elif ${PYTHON_MAJOR_VER} == "3"
+ ${RM} -rf ${WRKSRC}/pyuic/uic/port_v2
+.endif
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/Qt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -f -d ${PYTHONPREFIX_SITELIBDIR} \
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -f -d ${PYTHONPREFIX_SITELIBDIR} \
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5
+
+.include <bsd.port.post.mk>
Added: head/devel/py-qt5-core/files/Qt.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-core/files/Qt.py Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,73 @@
+# Replacement for the composite module PyQt5.Qt for FreeBSD
+# Provides namespace for all installed PyQt5 modules by importing them
+
+from PyQt5.QtCore import *
+
+try:
+ from PyQt5.QtGui import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtDBus import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtMultimedia import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtMultimediaWidgets import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtNetwork import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtOpenGL import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtPrintSupport import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtQml import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtSerialPort import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtSql import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtSvg import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtTest import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtWebKit import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtWebKitWidgets import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtWidgets import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtXml import *
+except ImportError:
+ pass
+try:
+ from PyQt5.QtXmlPatterns import *
+except ImportError:
+ pass
Added: head/devel/py-qt5-core/files/patch-configure.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-core/files/patch-configure.py Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,94 @@
+This patch is necessary for us to split PyQt5 up into several different ports.
+
+It works by conditionally building and installing some tools (such as
+pylupdate5 and pyrcc5), replacing the all-encompassing PyQt5.api file that
+depends on different modules with module-specific .api files.
+--- configure.py.orig 2015-10-25 11:42:16 UTC
++++ configure.py
+@@ -1458,13 +1458,13 @@ def generate_makefiles(target_config, ve
+
+ generate_sip_module_code(target_config, verbose, no_timestamp, parts,
+ tracing, 'Qt', sip_flags)
+- subdirs.append('Qt')
+
+ if not target_config.no_tools:
+- # Generate pylupdate5 and pyrcc5.
+- for tool in ('pylupdate', 'pyrcc'):
+- generate_application_makefile(target_config, verbose, tool)
+- subdirs.append(tool)
++ if "QtXml" in target_config.pyqt_modules:
++ # Generate pylupdate5 and pyrcc5.
++ for tool in ('pylupdate', 'pyrcc'):
++ generate_application_makefile(target_config, verbose, tool)
++ subdirs.append(tool)
+
+ # Generate the pyuic5 wrapper.
+ pyuic_wrapper = generate_pyuic5_wrapper(target_config)
+@@ -1483,22 +1483,6 @@ def generate_makefiles(target_config, ve
+ source_path('examples', 'quick', 'tutorials', 'extending',
+ 'chapter6-plugins'))
+
+- # Generate the QScintilla API file.
+- if target_config.qsci_api:
+- inform("Generating the QScintilla API file...")
+- f = open_for_writing('PyQt5.api')
+-
+- for mname in target_config.pyqt_modules:
+- api = open(mname + '.api')
+-
+- for l in api:
+- f.write('PyQt5.' + l)
+-
+- api.close()
+- os.remove(mname + '.api')
+-
+- f.close()
+-
+ # Generate the Python dbus module.
+ if target_config.pydbus_module_dir != '':
+ mname = 'dbus'
+@@ -1526,21 +1510,24 @@ def generate_makefiles(target_config, ve
+ out_f.write('''TEMPLATE = subdirs
+ CONFIG += ordered nostrip
+ SUBDIRS = %s
++''' % (' '.join(subdirs)))
+
++ if "QtCore" in target_config.pyqt_modules:
++ out_f.write('''
+ init_py.files = %s
+ init_py.path = %s/PyQt5
+ INSTALLS += init_py
+-''' % (' '.join(subdirs), source_path('__init__.py'), target_config.pyqt_module_dir))
++''' % (source_path('__init__.py'), target_config.pyqt_module_dir))
+
+- # Install the uic module and the pyuic5 wrapper.
+- out_f.write('''
++ # Install the uic module and the pyuic5 wrapper.
++ out_f.write('''
+ uic_package.files = %s
+ uic_package.path = %s/PyQt5
+ INSTALLS += uic_package
+ ''' % (source_path('pyuic', 'uic'), target_config.pyqt_module_dir))
+
+- if not target_config.no_tools:
+- out_f.write('''
++ if not target_config.no_tools:
++ out_f.write('''
+ pyuic5.files = %s
+ pyuic5.path = %s
+ INSTALLS += pyuic5
+@@ -1548,11 +1535,12 @@ INSTALLS += pyuic5
+
+ # Install the QScintilla .api file.
+ if target_config.qsci_api:
++ api_list = ' '.join(['%s.api' % m for m in target_config.pyqt_modules])
+ out_f.write('''
+-qscintilla_api.files = PyQt5.api
++qscintilla_api.files = %s
+ qscintilla_api.path = %s/api/python
+ INSTALLS += qscintilla_api
+-''' % target_config.qsci_api_dir)
++''' % (api_list, target_config.qsci_api_dir))
+
+ out_f.close()
+
Added: head/devel/py-qt5-core/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-core/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtCore module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/devel/py-qt5-core/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-core/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,219 @@
+bin/pyuic5
+%%PYTHON_SITELIBDIR%%/PyQt5/Qt.py
+%%PYTHON_SITELIBDIR%%/PyQt5/Qt.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/Qt.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/QtCore.so
+%%PYTHON_SITELIBDIR%%/PyQt5/__init__.py
+%%PYTHON_SITELIBDIR%%/PyQt5/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/__init__.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/compiler.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/compiler.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/compiler.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/indenter.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/indenter.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/indenter.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/misc.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/misc.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/misc.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/proxy_metaclass.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/proxy_metaclass.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/proxy_metaclass.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qobjectcreator.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qobjectcreator.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qobjectcreator.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qtproxies.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qtproxies.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Compiler/qtproxies.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/__init__.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/loader.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/loader.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/loader.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/qobjectcreator.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/qobjectcreator.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/Loader/qobjectcreator.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/__init__.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/driver.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/driver.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/driver.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/exceptions.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/icon_cache.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/icon_cache.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/icon_cache.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/objcreator.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/objcreator.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/objcreator.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/__init__.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/as_string.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/as_string.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/as_string.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/ascii_upper.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/ascii_upper.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/ascii_upper.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/invoke.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/invoke.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/invoke.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/load_plugin.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/load_plugin.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/load_plugin.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/proxy_base.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/proxy_base.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/proxy_base.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/string_io.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/string_io.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/port_v%%PYTHON_MAJOR_VER%%/string_io.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/properties.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/properties.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/properties.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/pyuic.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/pyuic.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/pyuic.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/uiparser.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/uiparser.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/uiparser.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qaxcontainer.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qaxcontainer.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qaxcontainer.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qscintilla.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qscintilla.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qscintilla.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtprintsupport.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtprintsupport.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtprintsupport.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtquickwidgets.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtquickwidgets.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtquickwidgets.pyo
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtwebkit.py
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtwebkit.pyc
+%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qtwebkit.pyo
+%%PYQT_SIPDIR%%/QtCore/QtCoremod.sip
+%%PYQT_SIPDIR%%/QtCore/qabstractanimation.sip
+%%PYQT_SIPDIR%%/QtCore/qabstracteventdispatcher.sip
+%%PYQT_SIPDIR%%/QtCore/qabstractitemmodel.sip
+%%PYQT_SIPDIR%%/QtCore/qabstractnativeeventfilter.sip
+%%PYQT_SIPDIR%%/QtCore/qabstractproxymodel.sip
+%%PYQT_SIPDIR%%/QtCore/qabstractstate.sip
+%%PYQT_SIPDIR%%/QtCore/qabstracttransition.sip
+%%PYQT_SIPDIR%%/QtCore/qanimationgroup.sip
+%%PYQT_SIPDIR%%/QtCore/qbasictimer.sip
+%%PYQT_SIPDIR%%/QtCore/qbitarray.sip
+%%PYQT_SIPDIR%%/QtCore/qbuffer.sip
+%%PYQT_SIPDIR%%/QtCore/qbytearray.sip
+%%PYQT_SIPDIR%%/QtCore/qbytearraymatcher.sip
+%%PYQT_SIPDIR%%/QtCore/qchar.sip
+%%PYQT_SIPDIR%%/QtCore/qcollator.sip
+%%PYQT_SIPDIR%%/QtCore/qcommandlineoption.sip
+%%PYQT_SIPDIR%%/QtCore/qcommandlineparser.sip
+%%PYQT_SIPDIR%%/QtCore/qcoreapplication.sip
+%%PYQT_SIPDIR%%/QtCore/qcoreevent.sip
+%%PYQT_SIPDIR%%/QtCore/qcryptographichash.sip
+%%PYQT_SIPDIR%%/QtCore/qdatastream.sip
+%%PYQT_SIPDIR%%/QtCore/qdatetime.sip
+%%PYQT_SIPDIR%%/QtCore/qdir.sip
+%%PYQT_SIPDIR%%/QtCore/qdiriterator.sip
+%%PYQT_SIPDIR%%/QtCore/qeasingcurve.sip
+%%PYQT_SIPDIR%%/QtCore/qelapsedtimer.sip
+%%PYQT_SIPDIR%%/QtCore/qeventloop.sip
+%%PYQT_SIPDIR%%/QtCore/qeventtransition.sip
+%%PYQT_SIPDIR%%/QtCore/qfile.sip
+%%PYQT_SIPDIR%%/QtCore/qfiledevice.sip
+%%PYQT_SIPDIR%%/QtCore/qfileinfo.sip
+%%PYQT_SIPDIR%%/QtCore/qfileselector.sip
+%%PYQT_SIPDIR%%/QtCore/qfilesystemwatcher.sip
+%%PYQT_SIPDIR%%/QtCore/qfinalstate.sip
+%%PYQT_SIPDIR%%/QtCore/qglobal.sip
+%%PYQT_SIPDIR%%/QtCore/qhistorystate.sip
+%%PYQT_SIPDIR%%/QtCore/qidentityproxymodel.sip
+%%PYQT_SIPDIR%%/QtCore/qiodevice.sip
+%%PYQT_SIPDIR%%/QtCore/qitemselectionmodel.sip
+%%PYQT_SIPDIR%%/QtCore/qjsonarray.sip
+%%PYQT_SIPDIR%%/QtCore/qjsondocument.sip
+%%PYQT_SIPDIR%%/QtCore/qjsonobject.sip
+%%PYQT_SIPDIR%%/QtCore/qjsonvalue.sip
+%%PYQT_SIPDIR%%/QtCore/qlibrary.sip
+%%PYQT_SIPDIR%%/QtCore/qlibraryinfo.sip
+%%PYQT_SIPDIR%%/QtCore/qline.sip
+%%PYQT_SIPDIR%%/QtCore/qlocale.sip
+%%PYQT_SIPDIR%%/QtCore/qlockfile.sip
+%%PYQT_SIPDIR%%/QtCore/qlogging.sip
+%%PYQT_SIPDIR%%/QtCore/qmargins.sip
+%%PYQT_SIPDIR%%/QtCore/qmessageauthenticationcode.sip
+%%PYQT_SIPDIR%%/QtCore/qmetaobject.sip
+%%PYQT_SIPDIR%%/QtCore/qmetatype.sip
+%%PYQT_SIPDIR%%/QtCore/qmimedata.sip
+%%PYQT_SIPDIR%%/QtCore/qmimedatabase.sip
+%%PYQT_SIPDIR%%/QtCore/qmimetype.sip
+%%PYQT_SIPDIR%%/QtCore/qmutex.sip
+%%PYQT_SIPDIR%%/QtCore/qnamespace.sip
+%%PYQT_SIPDIR%%/QtCore/qnumeric.sip
+%%PYQT_SIPDIR%%/QtCore/qobject.sip
+%%PYQT_SIPDIR%%/QtCore/qobjectcleanuphandler.sip
+%%PYQT_SIPDIR%%/QtCore/qobjectdefs.sip
+%%PYQT_SIPDIR%%/QtCore/qparallelanimationgroup.sip
+%%PYQT_SIPDIR%%/QtCore/qpauseanimation.sip
+%%PYQT_SIPDIR%%/QtCore/qpluginloader.sip
+%%PYQT_SIPDIR%%/QtCore/qpoint.sip
+%%PYQT_SIPDIR%%/QtCore/qprocess.sip
+%%PYQT_SIPDIR%%/QtCore/qpropertyanimation.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qhash.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qlist.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qmap.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qpair.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qset.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_qvector.sip
+%%PYQT_SIPDIR%%/QtCore/qpycore_virtual_error_handler.sip
+%%PYQT_SIPDIR%%/QtCore/qreadwritelock.sip
+%%PYQT_SIPDIR%%/QtCore/qrect.sip
+%%PYQT_SIPDIR%%/QtCore/qregexp.sip
+%%PYQT_SIPDIR%%/QtCore/qregularexpression.sip
+%%PYQT_SIPDIR%%/QtCore/qresource.sip
+%%PYQT_SIPDIR%%/QtCore/qrunnable.sip
+%%PYQT_SIPDIR%%/QtCore/qsavefile.sip
+%%PYQT_SIPDIR%%/QtCore/qsemaphore.sip
+%%PYQT_SIPDIR%%/QtCore/qsequentialanimationgroup.sip
+%%PYQT_SIPDIR%%/QtCore/qsettings.sip
+%%PYQT_SIPDIR%%/QtCore/qsharedmemory.sip
+%%PYQT_SIPDIR%%/QtCore/qsignalmapper.sip
+%%PYQT_SIPDIR%%/QtCore/qsignaltransition.sip
+%%PYQT_SIPDIR%%/QtCore/qsize.sip
+%%PYQT_SIPDIR%%/QtCore/qsocketnotifier.sip
+%%PYQT_SIPDIR%%/QtCore/qsortfilterproxymodel.sip
+%%PYQT_SIPDIR%%/QtCore/qstandardpaths.sip
+%%PYQT_SIPDIR%%/QtCore/qstate.sip
+%%PYQT_SIPDIR%%/QtCore/qstatemachine.sip
+%%PYQT_SIPDIR%%/QtCore/qstorageinfo.sip
+%%PYQT_SIPDIR%%/QtCore/qstring.sip
+%%PYQT_SIPDIR%%/QtCore/qstringlist.sip
+%%PYQT_SIPDIR%%/QtCore/qstringlistmodel.sip
+%%PYQT_SIPDIR%%/QtCore/qsysinfo.sip
+%%PYQT_SIPDIR%%/QtCore/qsystemsemaphore.sip
+%%PYQT_SIPDIR%%/QtCore/qtemporarydir.sip
+%%PYQT_SIPDIR%%/QtCore/qtemporaryfile.sip
+%%PYQT_SIPDIR%%/QtCore/qtextboundaryfinder.sip
+%%PYQT_SIPDIR%%/QtCore/qtextcodec.sip
+%%PYQT_SIPDIR%%/QtCore/qtextstream.sip
+%%PYQT_SIPDIR%%/QtCore/qthread.sip
+%%PYQT_SIPDIR%%/QtCore/qthreadpool.sip
+%%PYQT_SIPDIR%%/QtCore/qtimeline.sip
+%%PYQT_SIPDIR%%/QtCore/qtimer.sip
+%%PYQT_SIPDIR%%/QtCore/qtimezone.sip
+%%PYQT_SIPDIR%%/QtCore/qtranslator.sip
+%%PYQT_SIPDIR%%/QtCore/qurl.sip
+%%PYQT_SIPDIR%%/QtCore/qurlquery.sip
+%%PYQT_SIPDIR%%/QtCore/quuid.sip
+%%PYQT_SIPDIR%%/QtCore/qvariant.sip
+%%PYQT_SIPDIR%%/QtCore/qvariantanimation.sip
+%%PYQT_SIPDIR%%/QtCore/qwaitcondition.sip
+%%PYQT_SIPDIR%%/QtCore/qwineventnotifier.sip
+%%PYQT_SIPDIR%%/QtCore/qxmlstream.sip
+%%API%%share/qt5/qsci/api/python/QtCore.api
Added: head/devel/py-qt5-dbus/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-dbus/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= dbus
+CATEGORIES= devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtDBus module
+
+CONFIGURE_ARGS= --enable QtDBus
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_PYQT= sip_build core_run
+USE_QT5= core dbus qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtDBus 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>
Added: head/devel/py-qt5-dbus/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-dbus/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the D-BUS module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/devel/py-qt5-dbus/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-dbus/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,17 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtDBus.so
+%%PYQT_SIPDIR%%/QtDBus/QtDBusmod.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusabstractadaptor.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusabstractinterface.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusargument.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusconnection.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusconnectioninterface.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbuserror.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusextratypes.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusinterface.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusmessage.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbuspendingcall.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusservicewatcher.sip
+%%PYQT_SIPDIR%%/QtDBus/qdbusunixfiledescriptor.sip
+%%PYQT_SIPDIR%%/QtDBus/qpydbuspendingreply.sip
+%%PYQT_SIPDIR%%/QtDBus/qpydbusreply.sip
+%%API%%share/qt5/qsci/api/python/QtDBus.api
Added: head/devel/py-qt5-dbussupport/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-dbussupport/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= dbussupport
+CATEGORIES= devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Qt event loop support for dbus-python
+
+BUILD_DEPENDS= ${PYDBUS}
+RUN_DEPENDS= ${PYDBUS}
+
+CONFIGURE_ARGS= --enable QtCore
+PYQT_DIST= yes
+
+USES= pkgconfig python pyqt:5
+USE_PYQT= sip_build
+USE_QT5= core buildtools_build qmake_build
+
+OPTIONS_DEFINE= DEBUG
+DEBUG_CONFIGURE_ON= --debug --trace
+
+BUILD_WRKSRC= ${WRKSRC}/dbus
+INSTALL_WRKSRC= ${WRKSRC}/dbus
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/dbus/mainloop/pyqt5.so
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_MAJOR_VER} == 2
+PYDBUS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:${PORTSDIR}/devel/py-dbus
+.elif ${PYTHON_MAJOR_VER} == 3
+PYDBUS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:${PORTSDIR}/devel/py3-dbus
+.endif
+
+.include <bsd.port.post.mk>
Added: head/devel/py-qt5-dbussupport/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-dbussupport/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides Qt event loop support for dbus-python.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/devel/py-qt5-designer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-designer/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= designer
+CATEGORIES= devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtDesigner module
+
+CONFIGURE_ARGS= --enable QtDesigner
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= yes
+USE_PYQT= sip_build core_run widgets_run
+USE_QT5= core gui designer widgets xml \
+ buildtools_build qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtDesigner 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>
Added: head/devel/py-qt5-designer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-designer/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the QtDesigner module.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/devel/py-qt5-designer/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-designer/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,28 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/QtDesigner.so
+%%QT_PLUGINDIR%%/designer/libpyqt5.so
+%%PYQT_SIPDIR%%/QtDesigner/QtDesignermod.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractactioneditor.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractformbuilder.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractformeditor.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractformwindow.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractformwindowcursor.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractformwindowmanager.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractobjectinspector.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractpropertyeditor.sip
+%%PYQT_SIPDIR%%/QtDesigner/abstractwidgetbox.sip
+%%PYQT_SIPDIR%%/QtDesigner/container.sip
+%%PYQT_SIPDIR%%/QtDesigner/customwidget.sip
+%%PYQT_SIPDIR%%/QtDesigner/default_extensionfactory.sip
+%%PYQT_SIPDIR%%/QtDesigner/extension.sip
+%%PYQT_SIPDIR%%/QtDesigner/formbuilder.sip
+%%PYQT_SIPDIR%%/QtDesigner/membersheet.sip
+%%PYQT_SIPDIR%%/QtDesigner/propertysheet.sip
+%%PYQT_SIPDIR%%/QtDesigner/qextensionmanager.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignercontainerextension.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignercustomwidgetplugin.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignermembersheetextension.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignerpropertysheetextension.sip
+%%PYQT_SIPDIR%%/QtDesigner/qpydesignertaskmenuextension.sip
+%%PYQT_SIPDIR%%/QtDesigner/taskmenu.sip
+%%API%%share/qt5/qsci/api/python/QtDesigner.api
Added: head/devel/py-qt5-designerplugin/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-designerplugin/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= designerplugin
+CATEGORIES= devel python
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtDesigner plugin
+
+BUILD_WRKSRC= ${WRKSRC}/designer
+INSTALL_WRKSRC= ${WRKSRC}/designer
+DESTDIRNAME= INSTALL_ROOT
+
+CONFIGURE_ARGS= --enable QtDesigner
+PYQT_DIST= yes
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip_build
+USE_QT5= core designer gui xml widgets \
+ buildtools_build qmake_build
+
+OPTIONS_DEFINE= DEBUG
+DEBUG_CONFIGURE_ON= --debug --trace
+
+PLIST_FILES= %%QT_PLUGINDIR%%/designer/libpyqt5.so
+
+.include <bsd.port.mk>
Added: head/devel/py-qt5-designerplugin/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-designerplugin/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,4 @@
+PyQt4 is a set of Python bindings for Digia's Qt4 application framework.
+This package provides the QtDesigner plugin.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
Added: head/devel/py-qt5-qscintilla2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-qscintilla2/Makefile Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= qscintilla2
+PORTVERSION= ${QSCI2_VERSION}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITES_QSCI2}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt5-
+DISTNAME= ${QSCI2_DISTNAME}
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Python bindings for QScintilla2 (PyQt5), QSci module
+
+LIB_DEPENDS= libqscintilla2-qt5.so:${PORTSDIR}/devel/qscintilla2-qt5
+
+DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo
+DESTDIRNAME= INSTALL_ROOT
+
+HAS_CONFIGURE= yes
+QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS.
+
+USES= python pyqt:5
+USE_GL= gl
+USE_PYQT= sip core gui printsupport widgets
+USE_QT5= core gui printsupport widgets buildtools_build qmake_build
+
+OPTIONS_DEFINE= DEBUG
+DEBUG_CONFIGURE_ON= --debug --trace
+
+QSCIDIR= ${PREFIX}/share/qt5/qsci
+CONFIGURE_ARGS= --pyqt PyQt5 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 -v ${SIPDIR} \
+ --apidir ${QSCIDIR} --qmake ${QMAKE} --pyqt-sipdir ${SIPDIR}
+WRKSRC= ${WRKDIR}/${DISTNAME}/Python
+ALL_TARGET= #empty
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
+ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS}
+
+.include <bsd.port.mk>
Added: head/devel/py-qt5-qscintilla2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-qscintilla2/pkg-descr Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,5 @@
+PyQt5 is a set of Python bindings for Digia's Qt5 application framework.
+This package provides the Qsci module for the Qscintilla2 editor component.
+
+WWW: http://www.riverbankcomputing.co.uk/software/pyqt/
+ http://www.riverbankcomputing.co.uk/software/qscintilla/
Added: head/devel/py-qt5-qscintilla2/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-qt5-qscintilla2/pkg-plist Sun Dec 13 21:56:50 2015 (r403693)
@@ -0,0 +1,54 @@
+%%PYTHON_SITELIBDIR%%/PyQt5/Qsci.so
+%%PYQT_SIPDIR%%/Qsci/qsciabstractapis.sip
+%%PYQT_SIPDIR%%/Qsci/qsciapis.sip
+%%PYQT_SIPDIR%%/Qsci/qscicommand.sip
+%%PYQT_SIPDIR%%/Qsci/qscicommandset.sip
+%%PYQT_SIPDIR%%/Qsci/qscidocument.sip
+%%PYQT_SIPDIR%%/Qsci/qscilexer.sip
+%%PYQT_SIPDIR%%/Qsci/qscilexeravs.sip
+%%PYQT_SIPDIR%%/Qsci/qscilexerbash.sip
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-ports-head
mailing list