summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-04 15:46:34 -0400
committerMicah Anderson <micah@riseup.net>2013-06-04 15:46:34 -0400
commit395787d20208c439797855313cc9bbb7fb76784a (patch)
tree97fe9f51b21c9a2a5b210f97327e549d6fb9547a
parentf8a174b0f4a637c9867d037676069177945f0b3c (diff)
fix for backporting to wheezy: E: dh_python2:145: extension for python2.6 is missing. Build extensions for all supported Python versions
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 5a8e493..16d3f52 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Priority: optional
Build-Depends: python-all-dev (>= 2.6.6-3), libsqlcipher-dev, debhelper (>= 9)
Standards-Version: 3.9.4
Uploaders: Micah Anderson <micah@debian.org>
+X-Python-Version: >= 2.5
Package: python-sqlcipher
Architecture: any
diff --git a/debian/rules b/debian/rules
index 401e052..2d9c8f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ override_dh_auto_install:
python$* setup.py install --skip-build --root=debian/python-sqlcipher \
--install-layout=deb
+override_dh_python2:
+ dh_python2 --no-guessing-versions
+
override_dh_auto_clean:
dh_auto_clean
rm -rf build