Override dh_python2's idea of supported python versions, for wider installability
authorStefano Rivera <stefano@rivera.za.net>
Sat, 17 May 2014 11:18:07 +0000 (13:18 +0200)
committerStefano Rivera <stefano@rivera.za.net>
Sat, 17 May 2014 11:18:07 +0000 (13:18 +0200)
debian/rules

index 247225561a239db563cad30d3f1d260c8aea32a7..7fa90585ca376c8ce2f0305a9f9e76fadffcf265 100755 (executable)
@@ -21,3 +21,7 @@ override_dh_clean:
 
 override_dh_python2:
        dh_python2 --no-guessing-deps
 
 override_dh_python2:
        dh_python2 --no-guessing-deps
+       # Maximum installability
+       sed -i -e 's/python:any/python/g' \
+           -e 's/>= 2\.7\.[0-9-]*~*/>= 2.6.6-7~/g' \
+           debian/robolock-ii.substvars