From e411bdaa7b319e34c23430e741107e96b2822426 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 18 May 2011 07:18:30 +0100 Subject: Make setuppy-debian-versions-match not be required. This lets me upload python-tracing to Debian without having to also upload extrautils. --- debian/control | 3 +-- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 67f96f6..e672a9d 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,7 @@ 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), extrautils +Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3), python (>= 2.5) XS-Python-Version: >= 2.5 Package: python-tracing diff --git a/debian/rules b/debian/rules index 0e884f1..48e0eb1 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,7 @@ override_dh_auto_install: python setup.py install --prefix=debian/python-tracing/usr override_dh_auto_build: - setuppy-debian-versions-match + if command -v setuppy-debian-versions-match > /dev/null; then \ + setuppy-debian-versions-match; fi dh_auto_build $@ --with-buildsystem=python_distutils -- cgit v1.2.1