Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=libcloud
4
5 export PYBUILD_BEFORE_TEST=./debian/setup-test-env.sh {build_dir}
6 export PYBUILD_AFTER_TEST=rm -f {build_dir}/libcloud/test/secrets.py
7
8 # Disable tests requiring network access. The upstream test-suite honors the
9 # NO_NETWORK variable.
10 export NO_NETWORK=
11
12 %:
13 dh $@ --buildsystem=pybuild
14
15 execute_after_dh_auto_install:
16 rm -rf $(CURDIR)/debian/python3-libcloud/usr/lib/python3.*/dist-packages/libcloud/test
17
18 override_dh_auto_test:
19 dh_auto_test -O--buildsystem=pybuild -- --test-pytest --test-args "-m 'not serial'"
20 dh_auto_test -O--buildsystem=pybuild -- --test-pytest --test-args "-m 'serial'"