Skip to content

Commit b4043c4

Browse files
committed
Merge remote-tracking branch 'micah/debian' into debian
Conflicts: debian/control debian/rules setup.py
2 parents b42e4e5 + 395787d commit b4043c4

3 files changed

Lines changed: 6 additions & 1 deletion

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

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# misrepresented as being the original software.
2323
# 3. This notice may not be removed or altered from any source distribution.
2424

25-
import glob
25+
#import glob
2626
import os
2727
import re
2828
import sys
@@ -323,6 +323,7 @@ def get_setup_args():
323323
packages=["pysqlcipher", "pysqlcipher.test"] +
324324
(["pysqlcipher.test.py25"], [])[sys.version_info < (2, 5)],
325325
scripts=[],
326+
326327
ext_modules=[
327328
Extension(
328329
name="pysqlcipher._sqlite",

0 commit comments

Comments
 (0)