summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/dependencies/sip4-tqt/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/dependencies/sip4-tqt/debian')
-rw-r--r--debian/wheezy/dependencies/sip4-tqt/debian/control2
-rw-r--r--[-rwxr-xr-x]debian/wheezy/dependencies/sip4-tqt/debian/python-sip-dev.links0
-rwxr-xr-xdebian/wheezy/dependencies/sip4-tqt/debian/rules5
3 files changed, 5 insertions, 2 deletions
diff --git a/debian/wheezy/dependencies/sip4-tqt/debian/control b/debian/wheezy/dependencies/sip4-tqt/debian/control
index 825f458eb..7091f5392 100644
--- a/debian/wheezy/dependencies/sip4-tqt/debian/control
+++ b/debian/wheezy/dependencies/sip4-tqt/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all
diff --git a/debian/wheezy/dependencies/sip4-tqt/debian/python-sip-dev.links b/debian/wheezy/dependencies/sip4-tqt/debian/python-sip-dev.links
index 26a9ded9b..26a9ded9b 100755..100644
--- a/debian/wheezy/dependencies/sip4-tqt/debian/python-sip-dev.links
+++ b/debian/wheezy/dependencies/sip4-tqt/debian/python-sip-dev.links
diff --git a/debian/wheezy/dependencies/sip4-tqt/debian/rules b/debian/wheezy/dependencies/sip4-tqt/debian/rules
index 2286739d5..9073bd22f 100755
--- a/debian/wheezy/dependencies/sip4-tqt/debian/rules
+++ b/debian/wheezy/dependencies/sip4-tqt/debian/rules
@@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
+
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
- dh_pysupport
+ ${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol