From 5e6f4b1d3f01aa95b4faee6b021600b4f72f5d81 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 1 Aug 2009 19:56:07 +0200 Subject: Switch to python-support --- debian/changelog | 3 ++- debian/control | 2 +- debian/preinst | 11 +++++++++++ debian/pycompat | 1 - debian/rules | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100755 debian/preinst delete mode 100644 debian/pycompat (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index c2cc7c1..175cbbb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,10 @@ scons (1.2.0-3) UNRELEASED; urgency=low + * Switch to python-support: * Do not build-depend on unnecessary pythoh-dev, replace it with python. * Bump Standards-Version to 3.8.2, no changes required. - -- Luca Falavigna Sat, 01 Aug 2009 18:39:33 +0200 + -- Luca Falavigna Sat, 01 Aug 2009 19:55:13 +0200 scons (1.2.0-2) unstable; urgency=low diff --git a/debian/control b/debian/control index 1a1ec97..9b6e709 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Luca Falavigna Uploaders: Mark Brown Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~), quilt -Build-Depends-Indep: python-central (>= 0.5) +Build-Depends-Indep: python-support (>= 0.5.3) Standards-Version: 3.8.2 XS-Python-Version: >= 2.4 Homepage: http://www.scons.org/ diff --git a/debian/preinst b/debian/preinst new file mode 100755 index 0000000..0d25d60 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2.0-3; then + pycentral pkgremove scons +fi + +#DEBHELPER# + +exit 0 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 a1a35fa..a20c7b6 100755 --- a/debian/rules +++ b/debian/rules @@ -40,7 +40,7 @@ binary-indep: build install dh_testdir dh_testroot dh_installdocs - dh_pycentral + dh_pysupport dh_installman dh_installchangelogs CHANGES.txt dh_link -- cgit v1.2.3