Remove python(2) binding and disable nut-monitor package for now as it depends on unmaintained pygtk (Closes: #885358, #937169)

This commit is contained in:
Laurent Bigonville 2019-12-15 20:02:02 +01:00
parent daac55b6a9
commit 64f3199582
4 changed files with 25 additions and 33 deletions

7
debian/changelog vendored
View file

@ -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 <bigon@debian.org> Sun, 15 Dec 2019 20:00:53 +0100
nut (2.7.4-10) unstable; urgency=medium nut (2.7.4-10) unstable; urgency=medium
* debian/libnutscan1.symbols: hurd-i386 is not built with ipmi support and * debian/libnutscan1.symbols: hurd-i386 is not built with ipmi support and

48
debian/control vendored
View file

@ -15,7 +15,6 @@ Build-Depends: debhelper (>= 12),
libsnmp-dev | libsnmp9-dev, libsnmp-dev | libsnmp9-dev,
libusb-dev (>= 0.1.8), libusb-dev (>= 0.1.8),
libwrap0-dev (>= 7.6), libwrap0-dev (>= 7.6),
python (>= 2.6.6-3~),
python3 python3
Build-Depends-Indep: asciidoc (>= 8.6.3), Build-Depends-Indep: asciidoc (>= 8.6.3),
asciidoc-dblatex, 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. 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 Package: python3-nut
Section: python Section: python
Architecture: all 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. This package provides Python3 bindings to connect to NUT server.
Package: nut-monitor #Package: nut-monitor
Architecture: all #Architecture: all
Depends: python-glade2, #Depends: python-glade2,
python-gobject-2, # python-gobject-2,
python-gtk2, # python-gtk2,
python-nut, # python-nut,
${misc:Depends}, # ${misc:Depends},
${python:Depends} # ${python:Depends}
Recommends: python-notify #Recommends: python-notify
Description: network UPS tools - GUI application to monitor UPS status #Description: network UPS tools - GUI application to monitor UPS status
Network UPS Tools (NUT) is a client/server monitoring system that # Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and # allows computers to share uninterruptible power supply (UPS) and
power distribution unit (PDU) hardware. Clients access the hardware # power distribution unit (PDU) hardware. Clients access the hardware
through the server, and are notified whenever the power status # through the server, and are notified whenever the power status
changes. # changes.
. # .
This package provides nut-monitor, a GUI application to monitor UPS status. # This package provides nut-monitor, a GUI application to monitor UPS status.
Package: libups-nut-perl Package: libups-nut-perl
Section: perl Section: perl

View file

@ -1 +0,0 @@
scripts/python/module/PyNUT.py usr/share/pyshared/

2
debian/rules vendored
View file

@ -33,7 +33,7 @@ ifneq ($(shell which asciidoc),)
endif endif
%: %:
dh $@ --no-parallel --with python2 --with python3 dh $@ --no-parallel --with python3
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)