From 5cfc6c06566e230d67e336269e14b09fb4e0d9fe Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 28 Jun 2011 11:33:30 +0100 Subject: Update packaging to use dh_python2. --- debian/changelog | 6 ++++++ debian/control | 8 +++----- debian/pycompat | 1 - debian/rules | 15 ++++++++------- 4 files changed, 17 insertions(+), 13 deletions(-) delete mode 100644 debian/pycompat diff --git a/debian/changelog b/debian/changelog index 5c914a1..88379af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-tracing (0.5-2) UNRELEASED; urgency=low + + * Update packaging to use dh_python2. + + -- Lars Wirzenius Tue, 28 Jun 2011 11:33:21 +0100 + python-tracing (0.5-1) unstable; urgency=low * New upstream version. Adds documentation formatted using sphinx. diff --git a/debian/control b/debian/control index 7eaf73c..fcae607 100644 --- a/debian/control +++ b/debian/control @@ -3,14 +3,12 @@ Maintainer: Lars Wirzenius Section: python Priority: optional Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3), - python (>= 2.5), python-sphinx -XS-Python-Version: >= 2.5 +Build-Depends: debhelper (>= 7.3.8), python-all (>= 2.6.6-3~), python-sphinx +X-Python-Version: >= 2.6 Package: python-tracing Architecture: all -Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5) -XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.6) Description: Python debug tracing helper Provides the Python library 'tracing' to help with logging debug messages. This library provides a function for logging debug messages. diff --git a/debian/pycompat b/debian/pycompat deleted file mode 100644 index 0cfbf08..0000000 --- a/debian/pycompat +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/debian/rules b/debian/rules index 48e0eb1..37a2644 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,13 @@ #!/usr/bin/make -f + %: - dh $@ --with-buildsystem=python_distutils + dh $@ --with=python2 --buildsystem=python_distutils -override_dh_auto_install: - python setup.py install --prefix=debian/python-tracing/usr - override_dh_auto_build: - if command -v setuppy-debian-versions-match > /dev/null; then \ - setuppy-debian-versions-match; fi - dh_auto_build $@ --with-buildsystem=python_distutils + $(MAKE) + dh_auto_build --with=python2 --buildsystem=python_distutils + +override_dh_auto_clean: + $(MAKE) clean + dh_auto_clean --with=python2 --buildsystem=python_distutils -- cgit v1.2.1