Source: dbus-python
Version: 1.2.0-2
Severity: minor
Tags: patch

Dear Maintainer,

Attached is a patch that does the following:

  Drop obsolete recommendations of Qt 4 packages

  * python-qt4-dbus is a replacement for dbus-python; if one uses one package,
    he will not need the other.
  * python3-dbus.mainloop.qt is a package providing support for Qt (4.x) main
    loop. However, Qt uses GLib main loops on UNIX systems by default, so this
    package is needed very rarely and we should not recommend it.

  In the description of python-dbus-dev, replace dbus.mainloop.qt with
  dbus.mainloop.pyqt5, which is the modern successor of dbus.mainloop.qt.

  Also, drop the alternative recommendation for python-gobject-2. That
  package has been deprecated for a long time and we want to remove it from
  the archive as soon as possible.

Please consider applying it.

--
Dmitry Shachnev
From 4b8da86e25e56f95885d26bf7de2c7ec13e4e119 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <mity...@gmail.com>
Date: Thu, 22 Oct 2015 12:21:05 +0300
Subject: [PATCH] Drop obsolete recommendations of Qt 4 packages

* python-qt4-dbus is a replacement for dbus-python; if one uses one package,
  he will not need the other.
* python3-dbus.mainloop.qt is a package providing support for Qt (4.x) main
  loop. However, Qt uses GLib main loops on UNIX systems by default, so this
  package is needed very rarely and we should not recommend it.

In the description of python-dbus-dev, replace dbus.mainloop.qt with
dbus.mainloop.pyqt5, which is the modern successor of dbus.mainloop.qt.

Also, drop the alternative recommendation for python-gobject-2. That
package has been deprecated for a long time and we want to remove it from
the archive as soon as possible.
---
 debian/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 5cb33db..6506071 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,7 @@ Architecture: any
 Depends: ${misc:Depends},
          ${python:Depends},
          ${shlibs:Depends},
-Recommends: python-gi | python-gobject-2 | python-qt4-dbus
+Recommends: python-gi
 Suggests: python-dbus-doc, python-dbus-dbg
 Replaces: python2.4-dbus
 Conflicts: python2.4-dbus
@@ -59,7 +59,7 @@ Architecture: any
 Depends: ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends}
-Recommends: python3-gi | python3-dbus.mainloop.qt
+Recommends: python3-gi
 Suggests: python-dbus-doc, python3-dbus-dbg
 Provides: ${python3:Provides}
 Description: simple interprocess messaging system (Python 3 interface)
@@ -85,7 +85,7 @@ Description: main loop integration development files for python-dbus
  terms of complexity.
  .
  This package provides development files required to compile main-loop
- integration modules for python-dbus, such as dbus.mainloop.qt provided
+ integration modules for python-dbus, such as dbus.mainloop.pyqt5 provided
  by PyQt. It is Python-version-independent: packages that build-depend
  on python-dbus-dev should also build-depend on python-dbus,
  python3-dbus, python-dbus-dbg and/or python3-dbus-dbg.
-- 
2.6.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to