[neon/forks/pyqt5/Neon/release] debian: Stop building extensions for Python debug interpreter.

Dmitry Shachnev null at kde.org
Mon May 2 22:19:25 BST 2022


Git commit 85cd334d9f430b69056a74428cdf2791c2dec2d3 by Dmitry Shachnev.
Committed on 28/09/2021 at 16:14.
Pushed by sitter into branch 'Neon/release'.

Stop building extensions for Python debug interpreter.

Rely on automatic dbgsym packages for debug symbols.

Closes: #994337.

M  +7    -0    debian/changelog
M  +0    -270  debian/control
D  +0    -1    debian/python3-dbus.mainloop.pyqt5-dbg.install
D  +0    -11   debian/python3-pyqt5-dbg.install
D  +0    -1    debian/python3-pyqt5.qtbluetooth-dbg.install
D  +0    -2    debian/python3-pyqt5.qtmultimedia-dbg.install
D  +0    -1    debian/python3-pyqt5.qtnfc-dbg.install
D  +0    -1    debian/python3-pyqt5.qtopengl-dbg.install
D  +0    -2    debian/python3-pyqt5.qtpositioning-dbg.install
D  +0    -3    debian/python3-pyqt5.qtquick-dbg.install
D  +0    -1    debian/python3-pyqt5.qtremoteobjects-dbg.install
D  +0    -1    debian/python3-pyqt5.qtsensors-dbg.install
D  +0    -1    debian/python3-pyqt5.qtserialport-dbg.install
D  +0    -1    debian/python3-pyqt5.qtsql-dbg.install
D  +0    -1    debian/python3-pyqt5.qtsvg-dbg.install
D  +0    -1    debian/python3-pyqt5.qttexttospeech-dbg.install
D  +0    -1    debian/python3-pyqt5.qtwebchannel-dbg.install
D  +0    -2    debian/python3-pyqt5.qtwebkit-dbg.install
D  +0    -1    debian/python3-pyqt5.qtwebsockets-dbg.install
D  +0    -1    debian/python3-pyqt5.qtx11extras-dbg.install
D  +0    -1    debian/python3-pyqt5.qtxmlpatterns-dbg.install
M  +6    -24   debian/rules

https://invent.kde.org/neon/forks/pyqt5/commit/85cd334d9f430b69056a74428cdf2791c2dec2d3

diff --git a/debian/changelog b/debian/changelog
index 1b7003df..490751ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyqt5 (5.15.4+dfsg-4) UNRELEASED; urgency=medium
+
+  * Stop building extensions for Python debug interpreter (closes: #994337).
+    - Rely on automatic dbgsym packages for debug symbols.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Tue, 28 Sep 2021 19:11:59 +0300
+
 pyqt5 (5.15.4+dfsg-3) unstable; urgency=medium
 
   * Install PyQt5/sip.pyi in python3-pyqt5 package.
diff --git a/debian/control b/debian/control
index c5c3e5d2..fddeb00d 100644
--- a/debian/control
+++ b/debian/control
@@ -22,13 +22,10 @@ Build-Depends: debhelper-compat (= 13),
                libqt5xmlpatterns5-dev (>= 5.9.1),
                libudev-dev [linux-any],
                python-dbus-dev,
-               python3-all-dbg,
                python3-all-dev (>= 3.3.2-5~),
                python3-dbus,
-               python3-dbus-dbg,
                python3-pyqtbuild (>= 1.9),
                python3-sipbuild (>= 6),
-               python3-sipbuild-dbg (>= 6),
                qtconnectivity5-dev [linux-any],
                qtdeclarative5-dev (>= 5.9.1),
                qtlocation5-dev (>= 5.9.1),
@@ -85,7 +82,6 @@ Depends: python3-pyqt5.sip (<< 13),
          ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
-Suggests: python3-pyqt5-dbg
 Breaks: calibre (<< 5.0~),
         python3-pyqt5.qsci (<< 2.11.5~),
         python3-pyqt5.qtchart (<< 5.15~),
@@ -104,19 +100,6 @@ Description: Python 3 bindings for Qt5
   * QtWidgets
   * QtXml
 
-Package: python3-pyqt5-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5 (= ${binary:Version}),
-         python3-pyqt5.sip-dbg (>= 12.8),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5 (debug extensions)
- PyQt5 exposes the Qt5 API to Python 3.
- .
- This package contains the extensions built for the Python 3 debug interpreter.
-
 Package: python3-dbus.mainloop.pyqt5
 Architecture: any
 Depends: python3-dbus, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
@@ -127,21 +110,6 @@ Description: D-Bus Qt main loop support for Python 3
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-dbus.mainloop.pyqt5-dbg
-Architecture: any
-Section: debug
-Depends: python3-dbg,
-         python3-dbus-dbg,
-         python3-dbus.mainloop.pyqt5 (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: D-Bus Qt main loop support for Python 3 (debug extension)
- The dbus.mainloop.pyqt5 module provides support for Qt main loop for
- applications that use dbus-python. By default Qt uses main loop from
- GLib on UNIX-like systems, not its own one.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtopengl
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -154,20 +122,6 @@ Description: Python 3 bindings for Qt5's OpenGL module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtopengl-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtopengl (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's OpenGL module (debug extension)
- The OpenGL module of PyQt5 provides widgets and utility classes
- for OpenGL rendering in a PyQt5 application.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtremoteobjects
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -180,20 +134,6 @@ Description: Python 3 bindings for Qt5's RemoteObjects module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtremoteobjects-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtremoteobjects (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's RemoteObjects module (debug extensions)
- The QtRemoteObjects module extends Qt's existing functionalities to enable
- information exchange between processes or computers.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtsql
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -206,20 +146,6 @@ Description: Python 3 bindings for Qt5's SQL module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtsql-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtsql (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's SQL module (debug extension)
- The SQL module of PyQt5 provides widgets and utility classes for
- Python 3 SQL database access.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtwebchannel
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -234,22 +160,6 @@ Description: Python 3 bindings for Qt5's WebChannel module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtwebchannel-dbg
-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.qtwebkit
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -262,20 +172,6 @@ Description: Python 3 bindings for Qt5's WebKit module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtwebkit-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtwebkit (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's WebKit module (debug extensions)
- The WebKit module of PyQt5 provides a Web browser engine that makes it easy
- to embed HTML content into your PyQt application.
- .
- This package contains the extensions built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtwebsockets
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -288,20 +184,6 @@ Description: Python 3 bindings for Qt5's WebSockets module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtwebsockets-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtwebsockets (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's WebSockets module (debug extensions)
- The WebSockets module of PyQt5 provides Python 3 bindings for the
- WebSockets specification (both client and server).
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtxmlpatterns
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -314,20 +196,6 @@ Description: Python 3 bindings for Qt5's XmlPatterns module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtxmlpatterns-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtxmlpatterns (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's XmlPatterns module (debug extension)
- QtXmlPatterns is a XQuery and XPath engine for XML and custom data models.
- This package provides a PyQt binding for QtXmlPatterns.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtsvg
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -340,20 +208,6 @@ Description: Python 3 bindings for Qt5's SVG module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtsvg-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtsvg (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's SVG module (debug extension)
- The SVG module of PyQt5 provides classes for displaying the contents of
- SVG files.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtmultimedia
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -366,20 +220,6 @@ Description: Python 3 bindings for Qt5's Multimedia module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtmultimedia-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtmultimedia (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for Qt5's Multimedia module (debug extensions)
- The Multimedia module of PyQt5 provides a set of APIs to play and record
- media, and manage a collection of media content.
- .
- This package contains the extensions built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtquick
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -392,20 +232,6 @@ Description: Python 3 bindings for QtQuick module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtquick-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtquick (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for QtQuick module (debug extension)
- The QtQuick module of PyQt5 provides a framework for developing applications
- and libraries with the QML language.
- .
- This package contains the extensions built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtserialport
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -418,20 +244,6 @@ Description: Python 3 bindings for QtSerialPort module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtserialport-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtserialport (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for QtSerialPort module (debug extension)
- The QtSerialPort module of PyQt5 provides a set of APIs to use serial ports
- from PyQt applications.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtsensors
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -444,20 +256,6 @@ Description: Python 3 bindings for QtSensors module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtsensors-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtsensors (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for QtSensors module (debug extension)
- The QtSensors module of PyQt5 provides a set of APIs to access sensors
- hardware from PyQt applications.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qttexttospeech
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -470,20 +268,6 @@ Description: Python 3 bindings for QtSpeech module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qttexttospeech-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qttexttospeech (= ${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}),
@@ -496,20 +280,6 @@ Description: Python 3 bindings for QtX11Extras module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtx11extras-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtx11extras (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for QtX11Extras module (debug extension)
- The QtX11Extras module of PyQt5 provides an API to access X11-specific
- information and classes.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtpositioning
 Architecture: any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -522,20 +292,6 @@ Description: Python 3 bindings for QtPositioning module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtpositioning-dbg
-Section: debug
-Architecture: any
-Depends: python3-dbg,
-         python3-pyqt5-dbg (= ${binary:Version}),
-         python3-pyqt5.qtpositioning (= ${binary:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Description: Python 3 bindings for QtPositioning module (debug extension)
- The QtPositioning module of PyQt5 provides an API to access location and
- positioning information.
- .
- This package contains the extension built for the Python 3 debug interpreter.
-
 Package: python3-pyqt5.qtbluetooth
 Architecture: linux-any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -547,19 +303,6 @@ Description: Python bindings for Qt Bluetooth module
  .
  This package contains the Python 3 version of this module.
 
-Package: python3-pyqt5.qtbluetooth-dbg
-Section: debug
-Architecture: linux-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: linux-any
 Depends: python3-pyqt5 (= ${binary:Version}),
@@ -570,16 +313,3 @@ 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: linux-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.
diff --git a/debian/python3-dbus.mainloop.pyqt5-dbg.install b/debian/python3-dbus.mainloop.pyqt5-dbg.install
deleted file mode 100644
index 78c4dba3..00000000
--- a/debian/python3-dbus.mainloop.pyqt5-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/dbus/mainloop/pyqt5.cpython-*.so
diff --git a/debian/python3-pyqt5-dbg.install b/debian/python3-pyqt5-dbg.install
deleted file mode 100644
index b751b277..00000000
--- a/debian/python3-pyqt5-dbg.install
+++ /dev/null
@@ -1,11 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/Qt.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtDBus.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtDesigner.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtHelp.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtNetwork.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtPrintSupport.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtTest.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtXml.cpython-*.so
diff --git a/debian/python3-pyqt5.qtbluetooth-dbg.install b/debian/python3-pyqt5.qtbluetooth-dbg.install
deleted file mode 100644
index 8eb7fc13..00000000
--- a/debian/python3-pyqt5.qtbluetooth-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtBluetooth.cpython-*.so
diff --git a/debian/python3-pyqt5.qtmultimedia-dbg.install b/debian/python3-pyqt5.qtmultimedia-dbg.install
deleted file mode 100644
index 6db003ee..00000000
--- a/debian/python3-pyqt5.qtmultimedia-dbg.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtMultimedia.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtMultimediaWidgets.cpython-*.so
diff --git a/debian/python3-pyqt5.qtnfc-dbg.install b/debian/python3-pyqt5.qtnfc-dbg.install
deleted file mode 100644
index 4f882c83..00000000
--- a/debian/python3-pyqt5.qtnfc-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtNfc.cpython-*.so
diff --git a/debian/python3-pyqt5.qtopengl-dbg.install b/debian/python3-pyqt5.qtopengl-dbg.install
deleted file mode 100644
index ddc76bf6..00000000
--- a/debian/python3-pyqt5.qtopengl-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/*OpenGL*.cpython-*.so
diff --git a/debian/python3-pyqt5.qtpositioning-dbg.install b/debian/python3-pyqt5.qtpositioning-dbg.install
deleted file mode 100644
index 71b5fefa..00000000
--- a/debian/python3-pyqt5.qtpositioning-dbg.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtLocation.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtPositioning.cpython-*.so
diff --git a/debian/python3-pyqt5.qtquick-dbg.install b/debian/python3-pyqt5.qtquick-dbg.install
deleted file mode 100644
index 9a49df09..00000000
--- a/debian/python3-pyqt5.qtquick-dbg.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtQml.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtQuick.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtQuickWidgets.cpython-*.so
diff --git a/debian/python3-pyqt5.qtremoteobjects-dbg.install b/debian/python3-pyqt5.qtremoteobjects-dbg.install
deleted file mode 100644
index 89cecdfd..00000000
--- a/debian/python3-pyqt5.qtremoteobjects-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtRemoteObjects.cpython-*.so
diff --git a/debian/python3-pyqt5.qtsensors-dbg.install b/debian/python3-pyqt5.qtsensors-dbg.install
deleted file mode 100644
index a4052fd7..00000000
--- a/debian/python3-pyqt5.qtsensors-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtSensors.cpython-*.so
diff --git a/debian/python3-pyqt5.qtserialport-dbg.install b/debian/python3-pyqt5.qtserialport-dbg.install
deleted file mode 100644
index 00ab6a1a..00000000
--- a/debian/python3-pyqt5.qtserialport-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtSerialPort.cpython-*.so
diff --git a/debian/python3-pyqt5.qtsql-dbg.install b/debian/python3-pyqt5.qtsql-dbg.install
deleted file mode 100644
index b4a41033..00000000
--- a/debian/python3-pyqt5.qtsql-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtSql.cpython-*.so
diff --git a/debian/python3-pyqt5.qtsvg-dbg.install b/debian/python3-pyqt5.qtsvg-dbg.install
deleted file mode 100644
index ae1806a1..00000000
--- a/debian/python3-pyqt5.qtsvg-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtSvg.cpython-*.so
diff --git a/debian/python3-pyqt5.qttexttospeech-dbg.install b/debian/python3-pyqt5.qttexttospeech-dbg.install
deleted file mode 100644
index 0e921a3d..00000000
--- a/debian/python3-pyqt5.qttexttospeech-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtTextToSpeech.cpython-*.so
diff --git a/debian/python3-pyqt5.qtwebchannel-dbg.install b/debian/python3-pyqt5.qtwebchannel-dbg.install
deleted file mode 100644
index 2b35742d..00000000
--- a/debian/python3-pyqt5.qtwebchannel-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtWebChannel.cpython-*.so
diff --git a/debian/python3-pyqt5.qtwebkit-dbg.install b/debian/python3-pyqt5.qtwebkit-dbg.install
deleted file mode 100644
index 67ed5c80..00000000
--- a/debian/python3-pyqt5.qtwebkit-dbg.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtWebKit.cpython-*.so
-usr/lib/python3/dist-packages/PyQt5/QtWebKitWidgets.cpython-*.so
diff --git a/debian/python3-pyqt5.qtwebsockets-dbg.install b/debian/python3-pyqt5.qtwebsockets-dbg.install
deleted file mode 100644
index 4b66dbcc..00000000
--- a/debian/python3-pyqt5.qtwebsockets-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtWebSockets.cpython-*.so
diff --git a/debian/python3-pyqt5.qtx11extras-dbg.install b/debian/python3-pyqt5.qtx11extras-dbg.install
deleted file mode 100644
index 7126bbf4..00000000
--- a/debian/python3-pyqt5.qtx11extras-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtX11Extras.cpython-*.so
diff --git a/debian/python3-pyqt5.qtxmlpatterns-dbg.install b/debian/python3-pyqt5.qtxmlpatterns-dbg.install
deleted file mode 100644
index 27dbda48..00000000
--- a/debian/python3-pyqt5.qtxmlpatterns-dbg.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/dist-packages/PyQt5/QtXmlPatterns.cpython-*.so
diff --git a/debian/rules b/debian/rules
index 615700e6..fc15bfba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ SHARED_CONFIGURE_OPTIONS=--confirm-license --verbose \
 %:
 	dh $@ --with python3
 
-override_dh_auto_configure-arch: $(ALLPYTHONS:%=build-%/configure-stamp) $(ALLPYTHONS:%=dbg-build-%/configure-stamp)
+override_dh_auto_configure-arch: $(ALLPYTHONS:%=build-%/configure-stamp)
 
 override_dh_auto_configure-indep: build-$(DEFAULT_PYTHON)/configure-stamp
 
@@ -57,16 +57,7 @@ build-%/configure-stamp:
 	sed -i '/strip/d' build-$*/*/Makefile
 	touch $@
 
-dbg-build-%/configure-stamp:
-	dh_testdir
-	python$*-dbg /usr/bin/sip-build $(SHARED_CONFIGURE_OPTIONS) \
-			--build-dir dbg-build-$* \
-			--debug --no-designer-plugin --no-qml-plugin --no-tools
-	sed -i '/strip/d' dbg-build-$*/*/Makefile
-	sed -i 's/-isystem/-I/' dbg-build-$*/*/Makefile
-	touch $@
-
-override_dh_auto_build-arch: $(ALLPYTHONS:%=build-%/build-stamp) $(ALLPYTHONS:%=dbg-build-%/build-stamp)
+override_dh_auto_build-arch: $(ALLPYTHONS:%=build-%/build-stamp)
 
 override_dh_auto_build-indep: build-$(DEFAULT_PYTHON)/build-stamp
 
@@ -75,11 +66,6 @@ build-%/build-stamp: build-%/configure-stamp
 	dh_auto_build -B build-$*
 	touch $@
 
-dbg-build-%/build-stamp: dbg-build-%/configure-stamp
-	dh_testdir
-	dh_auto_build -B dbg-build-$*
-	touch $@
-
 override_dh_auto_install-indep:
 	$(MAKE) -C build-$(DEFAULT_PYTHON) install INSTALL_ROOT=$(CURDIR)/debian/tmp
 
@@ -106,7 +92,6 @@ override_dh_installexamples-indep:
 override_dh_auto_install-arch:
 	set -e; for p in $(ALLPYTHONS); do \
 		$(MAKE) -C build-$$p install INSTALL_ROOT=$(CURDIR)/debian/tmp; \
-		$(MAKE) -C dbg-build-$$p install INSTALL_ROOT=$(CURDIR)/debian/tmp; \
 	done
 
 execute_after_dh_install-arch:
@@ -114,7 +99,7 @@ execute_after_dh_install-arch:
 	rm -rfv debian/python3-pyqt5/usr/lib/python3/dist-packages/PyQt5/uic/port_v2
 
 override_dh_auto_clean:
-	rm -rf $(ALLPYTHONS:%=build-%) $(ALLPYTHONS:%=dbg-build-%)
+	rm -rf $(ALLPYTHONS:%=build-%)
 	find . -type f -name .DS_Store -delete
 	find . -type f -name *.pyc -delete
 	find . -type d -name __pycache__ -delete
@@ -122,17 +107,14 @@ override_dh_auto_clean:
 	rm -f examples/quick/tutorials/extending/chapter6-plugins/Charts/qmldir
 
 override_dh_installdocs:
-	set -e; for p in $(PY_PACKAGE_NAMES:%=python3-%); do \
-		dh_installdocs -p$$p-dbg --link-doc=$$p; \
-	done
-	dh_installdocs --remaining-packages -A NEWS
+	dh_installdocs -A NEWS
 
 override_dh_strip-arch:
 	dh_strip -ppyqt5-dev-tools
 	set -e; \
 	for p in $(PY_PACKAGE_NAMES:%=python3-%); do \
-		DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \
+		DH_OPTIONS= dh_strip -p$$p --dbgsym-migration="$$p-dbg (<< 5.15.4+dfsg-4~)"; \
 	done
 
 override_dh_python3:
-	dh_python3 --no-dbg-cleaning -N pyqt5-examples
+	dh_python3 -N pyqt5-examples



More information about the Neon-commits mailing list