From 60fcac77e50800fa55963700ca34f494aea07d6b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 18 Nov 2009 19:40:51 +0200 Subject: Switch rules file to dh, and assorted changes. --- Makefile | 3 ++- debian/changelog | 4 ++-- debian/compat | 2 +- debian/control | 5 ++--- debian/rules | 10 +++++----- subdir/bar.py | 0 test-excluded | 2 ++ 7 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 subdir/bar.py create mode 100644 test-excluded diff --git a/Makefile b/Makefile index 2f06ac0..84ebae9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ all: clean: - rm -f *.py[co] */*.py[co] + rm -f *.py[co] */*.py[co] .coverage + rm -rf build diff --git a/debian/changelog b/debian/changelog index 75ec5a6..e2fd3a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ -python-coverage-test-runner (1.2~unreleased1) unstable; urgency=low +python-coverage-test-runner (1.2) unstable; urgency=low - * Pending new upstream version. + * New upstream version. -- Lars Wirzenius Wed, 30 Sep 2009 11:41:11 +0300 diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index a76bf62..b2c7e91 100644 --- a/debian/control +++ b/debian/control @@ -3,13 +3,12 @@ Maintainer: Lars Wirzenius Section: python Priority: optional Standards-Version: 3.8.0 -Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38), - python-central (>= 0.5.6), python +Build-Depends: debhelper (>= 7.0), python-support (>= 1.0.3), python XS-Python-Version: all Package: python-coverage-test-runner Architecture: all -Depends: ${python:Depends}, python-coverage +Depends: ${misc:Depends}, ${python:Depends}, python-coverage XB-Python-Version: ${python:Versions} Description: fail Python program unit tests unless they test everything This package contains the Python module CoverageTestRunner, which runs diff --git a/debian/rules b/debian/rules index 618f8e8..659a1bd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,9 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM=pycentral +%: + dh $@ --build-system=python-distutils -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk - -clean:: +override_dh_auto_clean: $(MAKE) clean + rm -f python-build-stamp-* + diff --git a/subdir/bar.py b/subdir/bar.py new file mode 100644 index 0000000..e69de29 diff --git a/test-excluded b/test-excluded new file mode 100644 index 0000000..4123000 --- /dev/null +++ b/test-excluded @@ -0,0 +1,2 @@ +./subdir/bar.py + -- cgit v1.2.1