diff -Nru apt-forktracer-0.3/debian/apt-forktracer.manpages apt-forktracer-0.4/debian/apt-forktracer.manpages --- apt-forktracer-0.3/debian/apt-forktracer.manpages 1970-01-01 00:00:00.000000000 +0000 +++ apt-forktracer-0.4/debian/apt-forktracer.manpages 2011-12-15 18:23:37.000000000 +0000 @@ -0,0 +1,4 @@ +apt-forktracer.pl.8 +apt-forktracer.8 +forktracer.conf.pl.5 +forktracer.conf.5 diff -Nru apt-forktracer-0.3/debian/changelog apt-forktracer-0.4/debian/changelog --- apt-forktracer-0.3/debian/changelog 2010-03-28 20:21:14.000000000 +0000 +++ apt-forktracer-0.4/debian/changelog 2011-12-15 19:01:07.000000000 +0000 @@ -1,3 +1,12 @@ +apt-forktracer (0.4) unstable; urgency=medium + + * Upgrade lsb-release recommends to depends. (Closes: #651639) + * Adjusted apt_pkg_adapter.NullProgress for new pyapt API. (Closes: #625566) + * Bumped Standards-Version, no changes needed. + * Move to debhelper 8, start using dh. + + -- Marcin Owsiany Thu, 15 Dec 2011 20:00:06 +0100 + apt-forktracer (0.3) unstable; urgency=medium * Updated unit tests to use mox instead of pmock, which is dead. diff -Nru apt-forktracer-0.3/debian/control apt-forktracer-0.4/debian/control --- apt-forktracer-0.3/debian/control 2010-03-28 20:17:09.000000000 +0000 +++ apt-forktracer-0.4/debian/control 2011-12-15 18:18:47.000000000 +0000 @@ -2,14 +2,13 @@ Section: admin Priority: optional Maintainer: Marcin Owsiany -Build-Depends: debhelper (>= 7), python, python-support (>= 0.3) -Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 8), python, python-support (>= 0.3) +Standards-Version: 3.9.2 XS-Python-Version: >= 2.4 Package: apt-forktracer Architecture: all -Depends: python-apt (>= 0.7.93.2), ${python:Depends}, ${misc:Depends} -Recommends: lsb-release (>= 3.2-21) +Depends: python-apt (>= 0.7.93.2), ${python:Depends}, ${misc:Depends}, lsb-release (>= 3.2-21) XB-Python-Version: ${python:Versions} Description: a utility for tracking non-official package versions apt-forktracer tries to alleviate the problem that APT stops tracking official diff -Nru apt-forktracer-0.3/debian/rules apt-forktracer-0.4/debian/rules --- apt-forktracer-0.3/debian/rules 2010-03-29 14:38:01.000000000 +0000 +++ apt-forktracer-0.4/debian/rules 2011-12-15 18:57:45.000000000 +0000 @@ -1,51 +1,10 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. -# Adapted for apt-forktracer package -# Copyright 2002-2008 Marcin Owsiany -# License: GPL v2 or later +%: + dh $@ -#export DH_VERBOSE=1 - -build: build-stamp -build-stamp: - dh_testdir - python setup.py build - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - python setup.py clean - find . -type f -name '*.py[oc]' -delete - rm -rf build - dh_clean - -install: build - dh_testdir - dh_testroot +# Install the module as private. +override_dh_auto_install: python setup.py install --no-compile \ --install-scripts $(CURDIR)/debian/apt-forktracer/usr/bin \ --install-lib $(CURDIR)/debian/apt-forktracer/usr/share/apt-forktracer rm -f $(CURDIR)/debian/apt-forktracer/usr/share/apt-forktracer/apt_forktracer-*.egg-info - -binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installman apt-forktracer.pl.8 apt-forktracer.8 forktracer.conf.pl.5 forktracer.conf.5 - dh_installchangelogs - dh_pysupport - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -binary-arch: build install -# We have nothing to do. - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff -Nru apt-forktracer-0.3/.gitignore apt-forktracer-0.4/.gitignore --- apt-forktracer-0.3/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ apt-forktracer-0.4/.gitignore 2008-11-17 07:39:52.000000000 +0000 @@ -0,0 +1,4 @@ +*.pyc +*.pyo +MANIFEST +/dist diff -Nru apt-forktracer-0.3/lib/apt_forktracer/apt_pkg_adapter.py apt-forktracer-0.4/lib/apt_forktracer/apt_pkg_adapter.py --- apt-forktracer-0.3/lib/apt_forktracer/apt_pkg_adapter.py 2010-03-28 17:30:14.000000000 +0000 +++ apt-forktracer-0.4/lib/apt_forktracer/apt_pkg_adapter.py 2011-12-15 16:24:10.000000000 +0000 @@ -17,11 +17,11 @@ class NullProgress: """Makes libapt shut up when passed to Cache().""" - def __init__(self): + def __init__(self, *args, **kwargs): pass - def update(self, something): + def update(self, *args, **kwargs): pass - def done(self): + def done(self, *args, **kwargs): pass class AptPkgAdapter: