diff -r fa049c1d9445 -r 235a942eba3f debian/rules --- a/debian/rules Fri May 31 18:47:01 2013 +0200 +++ b/debian/rules Fri May 31 15:10:34 2013 +0200 @@ -9,8 +9,10 @@ .PHONY: build +ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: cd tests && python run-tests.py --with-hg=`which hg` +endif override_dh_python2: # avoid conflict with mercurial's own hgext/__init__.py