--- pypureomapi-0.3.orig/debian/rules +++ pypureomapi-0.3/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ --with python2 +ifeq (,$(filter nocheck,${DEB_BUILD_OPTIONS})) +override_dh_auto_test: + for pyver in `pyversions -s`; do \ + $$pyver pypureomapi.py || exit 1; \ + done +endif --- pypureomapi-0.3.orig/debian/copyright +++ pypureomapi-0.3/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pypureomapi +Upstream-Contact: Helmut Grohne +Source: http://code.google.com/p/pypureomapi/ + +Files: debian/* +Copyright: 2010-2012, Cygnus Networks GmbH + 2011-2013, Helmut Grohne +License: GPL-3+ + +Files: * +Copyright: 2010-2012, Cygnus Networks GmbH +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. --- pypureomapi-0.3.orig/debian/control +++ pypureomapi-0.3/debian/control @@ -0,0 +1,20 @@ +Source: pypureomapi +Maintainer: Helmut Grohne +Standards-Version: 3.9.4 +Section: python +Priority: extra +Homepage: http://code.google.com/p/pypureomapi/ +Build-Depends: debhelper (>= 7.0.50~), python-all +X-Python-Version: >= 2.6 + +Package: python-pypureomapi +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: ISC DHCP OMAPI protocol implementation in Python + This module grew out of frustration about pyomapi and later pyomapic. The + extension modules mentioned can be used to query the ISC DHCP server for + information about leases. pyomapic does this job using swig and the static + library provided with ISC DHCP. It leaks and has basically no error checking. + Adding error checking later turned out to be a maintenance hell with swig, so + a pure Python implementation for omapi, pypureomapi was born. It can mostly + be used as a drop-in replacement for pyomapic. --- pypureomapi-0.3.orig/debian/changelog +++ pypureomapi-0.3/debian/changelog @@ -0,0 +1,18 @@ +pypureomapi (0.3-1) unstable; urgency=low + + * New upstream release. + + Update debian/copyright years. + + Minimum Python version bumped to 2.6. + * Bump Standards-Version from 3.9.2 to 3.9.4: No changes needed. + * Move required Python version to X-Python-Version to comply with python + policy 2.3. + * Update debian/copyright from dep5 draft to final version. + + -- Helmut Grohne Wed, 26 Jun 2013 22:03:20 +0200 + +pypureomapi (0.2-1) unstable; urgency=low + + * Initial release. (Closes: #602921: RFP: pypureomapi -- ISC DHCP + OMAPI protocol implementation in Python) + + -- Helmut Grohne Thu, 08 Dec 2011 08:57:55 +0100 --- pypureomapi-0.3.orig/debian/compat +++ pypureomapi-0.3/debian/compat @@ -0,0 +1 @@ +7 --- pypureomapi-0.3.orig/debian/watch +++ pypureomapi-0.3/debian/watch @@ -0,0 +1,8 @@ +# Thanks to Jakub Wilk for showing this workaround: +# http://anonscm.debian.org/viewvc/python-apps/packages/sinntp/trunk/debian/watch?revision=5212 + +version=3 +opts=\ +downloadurlmangle=s|.*[?]name=(.*?)&.*|http://pypureomapi.googlecode.com/files/$1|,\ +filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ +http://code.google.com/p/pypureomapi/downloads/detail[?]name=pypureomapi-([0-9.]+).tar.gz&.* --- pypureomapi-0.3.orig/debian/source/format +++ pypureomapi-0.3/debian/source/format @@ -0,0 +1 @@ +1.0