Add python-nut package

This commit is contained in:
Laurent Bigonville 2011-06-03 13:54:46 +02:00
parent ad6a04226d
commit 46c56a3a13
4 changed files with 23 additions and 3 deletions

3
debian/changelog vendored
View file

@ -8,6 +8,9 @@ nut (2.6.1-2) UNRELEASED; urgency=low
metapackage metapackage
* debian/rules: * debian/rules:
- List non-installed files - List non-installed files
- Includes python-module.mk
* debian/control:
- Add python-nut package and add python build-dependency
-- Laurent Bigonville <bigon@debian.org> Mon, 27 Jun 2011 17:26:59 +0200 -- Laurent Bigonville <bigon@debian.org> Mon, 27 Jun 2011 17:26:59 +0200

21
debian/control vendored
View file

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Arnaud Quette <aquette@debian.org> Maintainer: Arnaud Quette <aquette@debian.org>
Uploaders: Laurent Bigonville <bigon@debian.org> Uploaders: Laurent Bigonville <bigon@debian.org>
Build-Depends: debhelper (>= 8), Build-Depends: debhelper (>= 8),
cdbs, cdbs (>= 0.4.90~),
libgd2-xpm-dev | libgd2-noxpm-dev, libgd2-xpm-dev | libgd2-noxpm-dev,
libsnmp-dev | libsnmp9-dev, libsnmp-dev | libsnmp9-dev,
libusb-dev (>= 0.1.8), libusb-dev (>= 0.1.8),
@ -13,11 +13,13 @@ Build-Depends: debhelper (>= 8),
libglib2.0-dev, libglib2.0-dev,
libneon27-gnutls-dev | libneon27-dev, libneon27-gnutls-dev | libneon27-dev,
libpowerman0-dev (>= 2.3.3), libpowerman0-dev (>= 2.3.3),
libwrap0-dev (>= 7.6) libwrap0-dev (>= 7.6),
python (>= 2.6.6-3~)
Standards-Version: 3.9.2 Standards-Version: 3.9.2
Homepage: http://www.networkupstools.org Homepage: http://www.networkupstools.org/
Vcs-Browser: http://git.debian.org/?p=collab-maint/nut.git;a=summary Vcs-Browser: http://git.debian.org/?p=collab-maint/nut.git;a=summary
Vcs-Git: git://git.debian.org/git/collab-maint/nut.git Vcs-Git: git://git.debian.org/git/collab-maint/nut.git
X-Python-Version: >= 2.5
Package: nut Package: nut
Architecture: all Architecture: all
@ -150,3 +152,16 @@ Description: network UPS tools - development files
changes. changes.
. .
This package provides the development files. This package provides the development files.
Package: python-nut
Section: python
Architecture: all
Depends: ${python:Depends}, ${misc: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.

1
debian/python-nut.install vendored Normal file
View file

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

1
debian/rules vendored
View file

@ -2,6 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/python-module.mk
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)