summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/control2
-rwxr-xr-xdebian/preinst11
-rw-r--r--debian/pycompat1
-rwxr-xr-xdebian/rules2
5 files changed, 15 insertions, 4 deletions
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 <dktrkranz@ubuntu.com> Sat, 01 Aug 2009 18:39:33 +0200
+ -- Luca Falavigna <dktrkranz@ubuntu.com> 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 <dktrkranz@ubuntu.com>
Uploaders: Mark Brown <broonie@debian.org>
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