[neon/forks/pyqt5/Neon/release-lts] debian: Add python3-pyqt5.qtspeech package for QtTextToSpeech module

Dmitry Shachnev null at kde.org
Wed May 26 11:29:29 BST 2021


Git commit d9d9daace2515f692c7253df91c66270d14321ed by Dmitry Shachnev, on behalf of Alexander Volkov.
Committed on 17/09/2020 at 17:31.
Pushed by jriddell into branch 'Neon/release-lts'.

Add python3-pyqt5.qtspeech package for QtTextToSpeech module

QtTextToSpeech was added in PyQt v5.15.1.

M  +27   -0    debian/control
A  +1    -0    debian/python3-pyqt5.qtspeech-dbg.install
A  +2    -0    debian/python3-pyqt5.qtspeech.install
M  +1    -1    debian/rules
M  +1    -0    debian/tests/import

https://invent.kde.org/neon/forks/pyqt5/commit/d9d9daace2515f692c7253df91c66270d14321ed

diff --git a/debian/control b/debian/control
index fbc9b983..1e4122e8 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: debhelper-compat (= 13),
                libqt5sensors5-dev (>= 5.9.1),
                libqt5serialport5-dev (>= 5.9.1),
                libqt5svg5-dev (>= 5.9.1),
+               libqt5texttospeech5-dev,
                libqt5webchannel5-dev (>= 5.9.1),
                libqt5webkit5-dev (>= 5.9.1),
                libqt5websockets5-dev (>= 5.9.1),
@@ -462,6 +463,32 @@ Description: Python 3 bindings for QtSensors module (debug extension)
  .
  This package contains the extension built for the Python 3 debug interpreter.
 
+Package: python3-pyqt5.qtspeech
+Architecture: any
+Depends: python3-pyqt5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Description: Python 3 bindings for QtSpeech module
+ The QtSpeech module of PyQt5 provides a set of APIs for text-to-speech
+ in PyQt applications.
+ .
+ This package contains the Python 3 version of this module.
+
+Package: python3-pyqt5.qtspeech-dbg
+Section: debug
+Architecture: any
+Depends: python3-dbg,
+         python3-pyqt5-dbg (= ${binary:Version}),
+         python3-pyqt5.qtspeech (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Python 3 bindings for QtSpeech module (debug extension)
+ The QtSpeech module of PyQt5 provides a set of APIs for text-to-speech
+ in PyQt applications.
+ .
+ This package contains the extension built for the Python 3 debug interpreter.
+
 Package: python3-pyqt5.qtx11extras
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
diff --git a/debian/python3-pyqt5.qtspeech-dbg.install b/debian/python3-pyqt5.qtspeech-dbg.install
new file mode 100644
index 00000000..0e921a3d
--- /dev/null
+++ b/debian/python3-pyqt5.qtspeech-dbg.install
@@ -0,0 +1 @@
+usr/lib/python3/dist-packages/PyQt5/QtTextToSpeech.cpython-*.so
diff --git a/debian/python3-pyqt5.qtspeech.install b/debian/python3-pyqt5.qtspeech.install
new file mode 100644
index 00000000..e1b8d233
--- /dev/null
+++ b/debian/python3-pyqt5.qtspeech.install
@@ -0,0 +1,2 @@
+usr/lib/python3/dist-packages/PyQt5/QtTextToSpeech.abi3.so
+usr/lib/python3/dist-packages/PyQt5/QtTextToSpeech.pyi
diff --git a/debian/rules b/debian/rules
index c20ebdea..7b76595e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ DEFAULT_PYTHON := $(shell py3versions -vd)
 ALLPYTHONS := $(shell py3versions -vr)
 
 PYQT_MODULES := opengl remoteobjects sql webchannel webkit websockets xmlpatterns svg \
-	multimedia quick serialport sensors x11extras positioning bluetooth nfc networkauth
+	multimedia quick serialport sensors speech x11extras positioning bluetooth nfc networkauth
 
 PY_PACKAGE_NAMES := pyqt5 $(PYQT_MODULES:%=pyqt5.qt%) dbus.mainloop.pyqt5
 
diff --git a/debian/tests/import b/debian/tests/import
index 3d47acf9..bfea8f34 100755
--- a/debian/tests/import
+++ b/debian/tests/import
@@ -22,6 +22,7 @@ from PyQt5.QtSensors import QSensor
 from PyQt5.QtSerialPort import QSerialPortInfo
 from PyQt5.QtSql import QSqlQuery
 from PyQt5.QtSvg import QSvgRenderer
+from PyQt5.QtTextToSpeech import QTextToSpeech
 from PyQt5.QtWebChannel import QWebChannel
 from PyQt5.QtWebKit import QWebSettings
 from PyQt5.QtWebKitWidgets import QWebView



More information about the Neon-commits mailing list