Skip to content

Commit 395787d

Browse files
committed
fix for backporting to wheezy: E: dh_python2:145: extension for python2.6 is missing. Build extensions for all supported Python versions
1 parent f8a174b commit 395787d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Priority: optional
55
Build-Depends: python-all-dev (>= 2.6.6-3), libsqlcipher-dev, debhelper (>= 9)
66
Standards-Version: 3.9.4
77
Uploaders: Micah Anderson <micah@debian.org>
8+
X-Python-Version: >= 2.5
89

910
Package: python-sqlcipher
1011
Architecture: any

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ override_dh_auto_install:
1313
python$* setup.py install --skip-build --root=debian/python-sqlcipher \
1414
--install-layout=deb
1515

16+
override_dh_python2:
17+
dh_python2 --no-guessing-versions
18+
1619
override_dh_auto_clean:
1720
dh_auto_clean
1821
rm -rf build

0 commit comments

Comments
 (0)