[neon/forks/pyqt5/Neon/release-lts] debian: Add qtbluetooth, qtnetworkauth and qtnfc packages.

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


Git commit 52fb0c1532fa33178632d752455ef4465fe15395 by Dmitry Shachnev.
Committed on 16/07/2020 at 15:27.
Pushed by jriddell into branch 'Neon/release-lts'.

Add qtbluetooth, qtnetworkauth and qtnfc packages.

M  +5    -2    debian/changelog
M  +78   -0    debian/control
A  +1    -0    debian/python3-pyqt5.qtbluetooth-dbg.install
A  +2    -0    debian/python3-pyqt5.qtbluetooth.install
A  +1    -0    debian/python3-pyqt5.qtnetworkauth-dbg.install
A  +2    -0    debian/python3-pyqt5.qtnetworkauth.install
A  +1    -0    debian/python3-pyqt5.qtnfc-dbg.install
A  +2    -0    debian/python3-pyqt5.qtnfc.install
M  +1    -1    debian/rules
M  +3    -0    debian/tests/import

https://invent.kde.org/neon/forks/pyqt5/commit/52fb0c1532fa33178632d752455ef4465fe15395

diff --git a/debian/changelog b/debian/changelog
index 0ad20a9e..e1807e80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,10 @@
 pyqt5 (5.15.0+dfsg-1+exp3) UNRELEASED; urgency=medium
 
-  [ Alexander Volkov ]
-  * Add package python3-pyqt5.qtremoteobjects for QtRemoteObjects module.
+  * Add new binary packages:
+    - python3-pyqt5.qtbluetooth
+    - python3-pyqt5.qtnetworkauth
+    - python3-pyqt5.qtnfc
+    - python3-pyqt5.qtremoteobjects (thanks Alexander Volkov)
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Wed, 08 Jul 2020 14:12:53 +0300
 
diff --git a/debian/control b/debian/control
index 67147d73..fbc9b983 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends: debhelper-compat (= 13),
                libicu-dev,
                libjs-jquery,
                libpulse-dev,
+               libqt5networkauth5-dev,
                libqt5opengl5-dev (>= 5.9.1),
                libqt5remoteobjects5-dev,
                libqt5sensors5-dev (>= 5.9.1),
@@ -33,6 +34,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-pyqtbuild,
                python3-sipbuild (>= 5.3),
                python3-sipbuild-dbg (>= 5.3),
+               qtconnectivity5-dev,
                qtdeclarative5-dev (>= 5.9.1),
                qtlocation5-dev (>= 5.9.1),
                qtmultimedia5-dev (>= 5.9.1),
@@ -511,3 +513,79 @@ Description: Python 3 bindings for QtPositioning module (debug extension)
  positioning information.
  .
  This package contains the extension built for the Python 3 debug interpreter.
+
+Package: python3-pyqt5.qtbluetooth
+Architecture: any
+Depends: python3-pyqt5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt Bluetooth module
+ The Qt Bluetooth API provides connectivity between Bluetooth enabled devices.
+ .
+ This package contains the Python 3 version of this module.
+
+Package: python3-pyqt5.qtbluetooth-dbg
+Section: debug
+Architecture: any
+Depends: python3-dbg,
+         python3-pyqt5-dbg (= ${binary:Version}),
+         python3-pyqt5.qtbluetooth (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt Bluetooth module (debug extension)
+ The Qt Bluetooth API provides connectivity between Bluetooth enabled devices.
+ .
+ This package contains the extension built for the Python 3 debug interpreter.
+
+Package: python3-pyqt5.qtnfc
+Architecture: any
+Depends: python3-pyqt5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt NFC module
+ The Qt NFC API provides connectivity between NFC enabled devices.
+ .
+ This package contains the Python 3 version of this module.
+
+Package: python3-pyqt5.qtnfc-dbg
+Section: debug
+Architecture: any
+Depends: python3-dbg,
+         python3-pyqt5-dbg (= ${binary:Version}),
+         python3-pyqt5.qtnfc (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt NFC module (debug extension)
+ The Qt NFC API provides connectivity between NFC enabled devices.
+ .
+ This package contains the extension built for the Python 3 debug interpreter.
+
+Package: python3-pyqt5.qtnetworkauth
+Architecture: any
+Depends: python3-pyqt5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt Network Authorization module
+ Qt Network Authorization provides a set of APIs that enable Qt applications
+ to obtain limited access to online accounts and HTTP services without
+ exposing users' passwords.
+ .
+ This package contains the Python 3 version of this module.
+
+Package: python3-pyqt5.qtnetworkauth-dbg
+Section: debug
+Architecture: any
+Depends: python3-dbg,
+         python3-pyqt5-dbg (= ${binary:Version}),
+         python3-pyqt5.qtnetworkauth (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Python bindings for Qt Network Authorization module (debug extension)
+ Qt Network Authorization provides a set of APIs that enable Qt applications
+ to obtain limited access to online accounts and HTTP services without
+ exposing users' passwords.
+ .
+ This package contains the extension built for the Python 3 debug interpreter.
diff --git a/debian/python3-pyqt5.qtbluetooth-dbg.install b/debian/python3-pyqt5.qtbluetooth-dbg.install
new file mode 100644
index 00000000..8eb7fc13
--- /dev/null
+++ b/debian/python3-pyqt5.qtbluetooth-dbg.install
@@ -0,0 +1 @@
+usr/lib/python3/dist-packages/PyQt5/QtBluetooth.cpython-*.so
diff --git a/debian/python3-pyqt5.qtbluetooth.install b/debian/python3-pyqt5.qtbluetooth.install
new file mode 100644
index 00000000..2768b6e4
--- /dev/null
+++ b/debian/python3-pyqt5.qtbluetooth.install
@@ -0,0 +1,2 @@
+usr/lib/python3/dist-packages/PyQt5/QtBluetooth.abi3.so
+usr/lib/python3/dist-packages/PyQt5/QtBluetooth.pyi
diff --git a/debian/python3-pyqt5.qtnetworkauth-dbg.install b/debian/python3-pyqt5.qtnetworkauth-dbg.install
new file mode 100644
index 00000000..842297c8
--- /dev/null
+++ b/debian/python3-pyqt5.qtnetworkauth-dbg.install
@@ -0,0 +1 @@
+usr/lib/python3/dist-packages/PyQt5/QtNetworkAuth.cpython-*.so
diff --git a/debian/python3-pyqt5.qtnetworkauth.install b/debian/python3-pyqt5.qtnetworkauth.install
new file mode 100644
index 00000000..ed91d273
--- /dev/null
+++ b/debian/python3-pyqt5.qtnetworkauth.install
@@ -0,0 +1,2 @@
+usr/lib/python3/dist-packages/PyQt5/QtNetworkAuth.abi3.so
+usr/lib/python3/dist-packages/PyQt5/QtNetworkAuth.pyi
diff --git a/debian/python3-pyqt5.qtnfc-dbg.install b/debian/python3-pyqt5.qtnfc-dbg.install
new file mode 100644
index 00000000..4f882c83
--- /dev/null
+++ b/debian/python3-pyqt5.qtnfc-dbg.install
@@ -0,0 +1 @@
+usr/lib/python3/dist-packages/PyQt5/QtNfc.cpython-*.so
diff --git a/debian/python3-pyqt5.qtnfc.install b/debian/python3-pyqt5.qtnfc.install
new file mode 100644
index 00000000..4ab7e961
--- /dev/null
+++ b/debian/python3-pyqt5.qtnfc.install
@@ -0,0 +1,2 @@
+usr/lib/python3/dist-packages/PyQt5/QtNfc.abi3.so
+usr/lib/python3/dist-packages/PyQt5/QtNfc.pyi
diff --git a/debian/rules b/debian/rules
index 57f2615e..8511c60e 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
+	multimedia quick serialport sensors 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 07bbf275..3d47acf9 100755
--- a/debian/tests/import
+++ b/debian/tests/import
@@ -5,12 +5,15 @@ set -e
 cd $AUTOPKGTEST_TMP
 
 cat <<EOF >test_import.py
+from PyQt5.QtBluetooth import QBluetoothAddress
 from PyQt5.QtCore import QFile
 from PyQt5.QtDBus import QDBusConnection
 from PyQt5.QtGui import QColor
 from PyQt5.QtMultimedia import QAudio
 from PyQt5.QtMultimediaWidgets import QGraphicsVideoItem
 from PyQt5.QtNetwork import QLocalSocket
+from PyQt5.QtNetworkAuth import QAbstractOAuth2
+from PyQt5.QtNfc import QNearFieldTarget
 from PyQt5.QtPositioning import QGeoCoordinate
 from PyQt5.QtRemoteObjects import QRemoteObjectHost
 from PyQt5.QtQml import QQmlEngine



More information about the Neon-commits mailing list