From 64f3199582c8908acb106fbc0a7070395653e00f Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sun, 15 Dec 2019 20:02:02 +0100 Subject: [PATCH] Remove python(2) binding and disable nut-monitor package for now as it depends on unmaintained pygtk (Closes: #885358, #937169) --- debian/changelog | 7 ++++++ debian/control | 48 ++++++++++++++------------------------- debian/python-nut.install | 1 - debian/rules | 2 +- 4 files changed, 25 insertions(+), 33 deletions(-) delete mode 100644 debian/python-nut.install diff --git a/debian/changelog b/debian/changelog index f6cf025..d8ec98d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nut (2.7.4-11) UNRELEASED; urgency=medium + + * Remove python(2) binding and disable nut-monitor package for now as it + depends on unmaintained pygtk (Closes: #885358, #937169) + + -- Laurent Bigonville Sun, 15 Dec 2019 20:00:53 +0100 + nut (2.7.4-10) unstable; urgency=medium * debian/libnutscan1.symbols: hurd-i386 is not built with ipmi support and diff --git a/debian/control b/debian/control index 713fe22..8ef29c9 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,6 @@ Build-Depends: debhelper (>= 12), libsnmp-dev | libsnmp9-dev, libusb-dev (>= 0.1.8), libwrap0-dev (>= 7.6), - python (>= 2.6.6-3~), python3 Build-Depends-Indep: asciidoc (>= 8.6.3), asciidoc-dblatex, @@ -261,19 +260,6 @@ Description: network UPS tools - development files for the scanner library . This package provides the development files for the scanner library. -Package: python-nut -Section: python -Architecture: all -Depends: ${misc:Depends}, ${python:Depends} -Description: network UPS tools - Python bindings for NUT server - Network UPS Tools (NUT) is a client/server monitoring system that - allows computers to share uninterruptible power supply (UPS) and - power distribution unit (PDU) hardware. Clients access the hardware - through the server, and are notified whenever the power status - changes. - . - This package provides Python bindings to connect to NUT server. - Package: python3-nut Section: python Architecture: all @@ -287,23 +273,23 @@ Description: network UPS tools - Python3 bindings for NUT server . This package provides Python3 bindings to connect to NUT server. -Package: nut-monitor -Architecture: all -Depends: python-glade2, - python-gobject-2, - python-gtk2, - python-nut, - ${misc:Depends}, - ${python:Depends} -Recommends: python-notify -Description: network UPS tools - GUI application to monitor UPS status - Network UPS Tools (NUT) is a client/server monitoring system that - allows computers to share uninterruptible power supply (UPS) and - power distribution unit (PDU) hardware. Clients access the hardware - through the server, and are notified whenever the power status - changes. - . - This package provides nut-monitor, a GUI application to monitor UPS status. +#Package: nut-monitor +#Architecture: all +#Depends: python-glade2, +# python-gobject-2, +# python-gtk2, +# python-nut, +# ${misc:Depends}, +# ${python:Depends} +#Recommends: python-notify +#Description: network UPS tools - GUI application to monitor UPS status +# Network UPS Tools (NUT) is a client/server monitoring system that +# allows computers to share uninterruptible power supply (UPS) and +# power distribution unit (PDU) hardware. Clients access the hardware +# through the server, and are notified whenever the power status +# changes. +# . +# This package provides nut-monitor, a GUI application to monitor UPS status. Package: libups-nut-perl Section: perl diff --git a/debian/python-nut.install b/debian/python-nut.install deleted file mode 100644 index fa24bc5..0000000 --- a/debian/python-nut.install +++ /dev/null @@ -1 +0,0 @@ -scripts/python/module/PyNUT.py usr/share/pyshared/ diff --git a/debian/rules b/debian/rules index f8482c1..09ce27b 100755 --- a/debian/rules +++ b/debian/rules @@ -33,7 +33,7 @@ ifneq ($(shell which asciidoc),) endif %: - dh $@ --no-parallel --with python2 --with python3 + dh $@ --no-parallel --with python3 override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)