Source: python-bottle Version: 0.12.0-1 Severity: wishlist Tags: patch
Here's a patch to support skipping the tests as recommended by Policy 4.9.1. (In my case, this would be useful to break the cycle that python-bottle Build- Depends on python-tornado; python-tornado Depends on python-pycurl; and pycurl Build-Depends on python-bottle. I realize that python-bottle is Architecture: all, but in my case I try to bootstrap everything including the Architecture: all packages.) -- Daniel Schepler
diff -urN python-bottle-0.12.0.old/debian/rules python-bottle-0.12.0/debian/rules --- python-bottle-0.12.0.old/debian/rules 2014-01-06 09:44:57.000000000 -0800 +++ python-bottle-0.12.0/debian/rules 2014-02-15 12:26:55.249757466 -0800 @@ -17,6 +17,8 @@ dh_installchangelogs docs/changelog.rst override_dh_auto_test: +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) #PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="nosetests" dh_auto_test #PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} test/testall.py" dh_auto_test python test/testall.py +endif