diff options
author | Scott Moser <smoser@brickies.net> | 2016-08-23 16:48:39 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-08-23 16:48:39 -0400 |
commit | dbae06eec6a25592593f19f4f40bd03668098d9c (patch) | |
tree | b1e09afe59d730abc3692c92a632cd63bba13581 /debian/rules | |
parent | 90de5dfa9685a9585b651c38b21274a9aa05ec38 (diff) | |
download | vyos-cloud-init-dbae06eec6a25592593f19f4f40bd03668098d9c.tar.gz vyos-cloud-init-dbae06eec6a25592593f19f4f40bd03668098d9c.zip |
Import version 0.7.7~bzr1176-0ubuntu1
Imported using git-dsc-commit.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index d83f102d..4008d73f 100755 --- a/debian/rules +++ b/debian/rules @@ -6,12 +6,11 @@ export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM) dh $@ --with python3,systemd --buildsystem pybuild override_dh_auto_test: - # Because setup tools didn't copy data... - [ ! -d .pybuild/pythonX.Y_?.?/build/tests ] || cp -r tests/data .pybuild/pythonX.Y_?.?/build/tests - # We set http_proxy because of httpretty issue 122 trunk has worked - # around that but to support cloud-init that has not. - http_proxy= dh_auto_test -- --test-nose +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + http_proxy= make PYVER=3 check +else + @echo check disabled by DEB_BUILD_OPTIONS=$(DEB_BUILD_OPTIONS) +endif override_dh_systemd_start: dh_systemd_start --no-restart-on-upgrade --no-start - |