Revert the constraint on python to >= 2.7.
authorDidier Raboud <odyx@debian.org>
Fri, 18 May 2012 20:27:58 +0000 (22:27 +0200)
committerDidier Raboud <odyx@debian.org>
Fri, 18 May 2012 20:28:02 +0000 (22:28 +0200)
Just don't run the tests on python2.6.

debian/control
debian/rules

index ae55d09fa85ba14bd04c604fdc56bcb7b06b5ec0..2f74d56cbbb5d21d8c8346417290ab76fd0da3a1 100644 (file)
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>> 7.0.50~),
  po-debconf (>= 0.5.0),
  dpkg-dev (>= 1.10),
  python-all-dev (>= 2.6.6-6~),
-X-Python-Version: >= 2.7
+X-Python-Version: >= 2.6
 Standards-Version: 3.9.3
 Homepage: http://www.linuxfoundation.org/collaborate/workgroups/lsb
 Vcs-Git: git://anonscm.debian.org/collab-maint/lsb.git
index 53798fc8a389bb20dabe90ad7137fb97358e7c94..ec2bbff0babc399cba50f6594a6ef1f5862534bb 100755 (executable)
@@ -50,6 +50,9 @@ override_dh_clean:
 
 override_dh_auto_test: $(PY2VERSIONS:%=test-python%) $(PY3VERSIONS:%=test-python%)
 
+test-python2.6:
+       # Tests are not backported to python2.6, sorry.
+
 test-python%:
        PYTHONPATH=. python$* test/test_lsb_release.py -vv
        PYTHONPATH=. python$* test/test_initdutils.py -vv