[Python-modules-commits] [pyqt5] 02/02: Add Qt WebChannel support.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sun Jan 8 12:33:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch stretch
in repository pyqt5.
commit 5cf2cabe4d144b6b4fb52686e5b70e18b30b3186
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Sun Jan 8 14:16:51 2017 +0300
Add Qt WebChannel support.
---
debian/changelog | 1 +
debian/control | 63 +++++++++++++++++++++++++++++++
debian/python-pyqt5.qtwebchannel.install | 1 +
debian/python3-pyqt5.qtwebchannel.install | 2 +
debian/rules | 8 +++-
debian/tests/import | 1 +
6 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6912afd..148d9eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
pyqt5 (5.7+dfsg-4) UNRELEASED; urgency=medium
* Add Qt WebEngine support for amd64 and i386 (closes: #841830).
+ * Add Qt WebChannel support.
-- Dmitry Shachnev <mitya57 at debian.org> Sun, 08 Jan 2017 11:42:40 +0300
diff --git a/debian/control b/debian/control
index fcf844a..36fa701 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Build-Depends: debhelper (>= 9),
libqt5sensors5-dev (>= 5.7.0),
libqt5serialport5-dev (>= 5.7.0),
libqt5svg5-dev (>= 5.7.0),
+ libqt5webchannel5-dev (>= 5.7.1),
libqt5webkit5-dev (>= 5.7.0),
libqt5websockets5-dev (>= 5.7.0),
libqt5x11extras5-dev (>= 5.7.0),
@@ -213,6 +214,37 @@ Description: Python 3 bindings for Qt5's SQL module (debug extension)
.
This package contains the extension built for the Python 3 debug interpreter.
+Package: python3-pyqt5.qtwebchannel
+Architecture: any
+Depends: python3-pyqt5 (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Description: Python 3 bindings for Qt5's WebChannel module
+ Qt WebChannel enables peer-to-peer communication between the host (PyQt5
+ application) and the client (HTML/JavaScript application). The transport
+ mechanism is supported out of the box by the two popular web engines, Qt
+ WebKit 2 and Qt WebEngine (experimental).
+ .
+ This package contains the Python 3 version of this module.
+
+Package: python3-pyqt5.qtwebchannel-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: python3-dbg,
+ python3-pyqt5-dbg (= ${binary:Version}),
+ python3-pyqt5.qtwebchannel (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Python 3 bindings for Qt5's Webchannel module (debug extension)
+ Qt WebChannel enables peer-to-peer communication between the host (PyQt5
+ application) and the client (HTML/JavaScript application). The transport
+ mechanism is supported out of the box by the two popular web engines, Qt
+ WebKit 2 and Qt WebEngine (experimental).
+ .
+ This package contains the extension built for the Python 3 debug interpreter.
+
Package: python3-pyqt5.qtwebengine
Architecture: amd64 i386
Depends: python3-pyqt5 (= ${binary:Version}),
@@ -624,6 +656,37 @@ Description: Python 2 bindings for Qt5's SQL module (debug extension)
.
This package contains the extension built for the Python 2 debug interpreter.
+Package: python-pyqt5.qtwebchannel
+Architecture: any
+Depends: python-pyqt5 (= ${binary:Version}),
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Description: Python 2 bindings for Qt5's WebChannel module
+ Qt WebChannel enables peer-to-peer communication between the host (PyQt5
+ application) and the client (HTML/JavaScript application). The transport
+ mechanism is supported out of the box by the two popular web engines, Qt
+ WebKit 2 and Qt WebEngine (experimental).
+ .
+ This package contains the Python 2 version of this module.
+
+Package: python-pyqt5.qtwebchannel-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: python-dbg,
+ python-pyqt5-dbg (= ${binary:Version}),
+ python-pyqt5.qtwebchannel (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Python 2 bindings for Qt5's Webchannel module (debug extension)
+ Qt WebChannel enables peer-to-peer communication between the host (PyQt5
+ application) and the client (HTML/JavaScript application). The transport
+ mechanism is supported out of the box by the two popular web engines, Qt
+ WebKit 2 and Qt WebEngine (experimental).
+ .
+ This package contains the extension built for the Python 2 debug interpreter.
+
Package: python-pyqt5.qtwebengine
Architecture: amd64 i386
Depends: python-pyqt5 (= ${binary:Version}),
diff --git a/debian/python-pyqt5.qtwebchannel.install b/debian/python-pyqt5.qtwebchannel.install
new file mode 100644
index 0000000..a590ecd
--- /dev/null
+++ b/debian/python-pyqt5.qtwebchannel.install
@@ -0,0 +1 @@
+usr/lib/python2*/*-packages/PyQt5/QtWebChannel.so
diff --git a/debian/python3-pyqt5.qtwebchannel.install b/debian/python3-pyqt5.qtwebchannel.install
new file mode 100644
index 0000000..ec67df5
--- /dev/null
+++ b/debian/python3-pyqt5.qtwebchannel.install
@@ -0,0 +1,2 @@
+usr/lib/python3*/dist-packages/PyQt5/QtWebChannel.pyi
+usr/lib/python3*/dist-packages/PyQt5/QtWebChannel.so
diff --git a/debian/rules b/debian/rules
index 833ad04..ee88b5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,8 +37,8 @@ ALLPYTHONS := $(PYTHON3S) $(PYTHON)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
QTWEBENGINE_ARCHS := amd64 i386
-PYQT_MODULES := opengl sql webkit websockets xmlpatterns svg multimedia quick \
- serialport sensors x11extras positioning
+PYQT_MODULES := opengl sql webchannel webkit websockets xmlpatterns svg \
+ multimedia quick serialport sensors x11extras positioning
ifneq (,$(filter $(DEB_HOST_ARCH),$(QTWEBENGINE_ARCHS)))
PYQT_MODULES += webengine
endif
@@ -184,6 +184,8 @@ install-arch-3.%:
debian/python3-pyqt5.qtopengl-dbg/usr/lib/python3.$*/dist-packages/PyQt5
mv $(d3_qt5_dbg)/usr/lib/python3.$*/dist-packages/PyQt5/QtSql.so \
debian/python3-pyqt5.qtsql-dbg/usr/lib/python3.$*/dist-packages/PyQt5
+ mv $(d3_qt5_dbg)/usr/lib/python3.$*/dist-packages/PyQt5/QtWebChannel.so \
+ debian/python3-pyqt5.qtwebchannel-dbg/usr/lib/python3.$*/dist-packages/PyQt5
mv $(d3_qt5_dbg)/usr/lib/python3.$*/dist-packages/PyQt5/QtWebKit*.so \
debian/python3-pyqt5.qtwebkit-dbg/usr/lib/python3.$*/dist-packages/PyQt5
mv $(d3_qt5_dbg)/usr/lib/python3.$*/dist-packages/PyQt5/QtWebSockets.so \
@@ -235,6 +237,8 @@ install-arch-2.%:
debian/python-pyqt5.qtopengl-dbg/usr/lib/python2.$*/dist-packages/PyQt5
mv $(d_qt5_dbg)/usr/lib/python2.$*/dist-packages/PyQt5/QtSql.so \
debian/python-pyqt5.qtsql-dbg/usr/lib/python2.$*/dist-packages/PyQt5
+ mv $(d_qt5_dbg)/usr/lib/python2.$*/dist-packages/PyQt5/QtWebChannel.so \
+ debian/python-pyqt5.qtwebchannel-dbg/usr/lib/python2.$*/dist-packages/PyQt5
mv $(d_qt5_dbg)/usr/lib/python2.$*/dist-packages/PyQt5/QtWebKit*.so \
debian/python-pyqt5.qtwebkit-dbg/usr/lib/python2.$*/dist-packages/PyQt5
mv $(d_qt5_dbg)/usr/lib/python2.$*/dist-packages/PyQt5/QtWebSockets.so \
diff --git a/debian/tests/import b/debian/tests/import
index ce5ec8f..bcaa713 100755
--- a/debian/tests/import
+++ b/debian/tests/import
@@ -18,6 +18,7 @@ from PyQt5.QtSensors import QSensor
from PyQt5.QtSerialPort import QSerialPortInfo
from PyQt5.QtSql import QSqlQuery
from PyQt5.QtSvg import QSvgRenderer
+from PyQt5.QtWebChannel import QWebChannel
from PyQt5.QtWebKit import QWebSettings
from PyQt5.QtWebKitWidgets import QWebView
from PyQt5.QtWebSockets import QWebSocket
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyqt5.git
More information about the Python-modules-commits
mailing list