From: Didier Raboud Date: Fri, 18 May 2012 20:27:58 +0000 (+0200) Subject: Revert the constraint on python to >= 2.7. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~131 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d72bcadd9696800ddf976900a1eea6d152780a74;p=lsb.git Revert the constraint on python to >= 2.7. Just don't run the tests on python2.6. --- diff --git a/debian/control b/debian/control index ae55d09..2f74d56 100644 --- a/debian/control +++ b/debian/control @@ -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 diff --git a/debian/rules b/debian/rules index 53798fc..ec2bbff 100755 --- a/debian/rules +++ b/debian/rules @@ -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