Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/openstack-pkg-tools/pkgos.make
4
5 %:
6 dh $@ --with python3
7
8 override_dh_auto_clean:
9 rm -rf build .stestr *.egg-info
10 find . -iname '*.pyc' -delete
11 for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
12
13 override_dh_auto_build:
14 echo "Do nothing..."
15
16 override_dh_auto_install:
17 pkgos-dh_auto_install --no-py2 --in-tmp
18
19 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
20 PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2 'heatclient\.tests\.unit\.(?!test_template_utils.*|test_utils\.TestURLFunctions\.(test_get_template_url|test_normalise_file_path_to_url_absolute|test_normalise_file_path_to_url_relative)|test_shell\.(ShellTestConfig\.test_config_create|ShellTestUserPass(\.test_stack_create_only_param_file|\.test_stack_create_param_file)|ShellTestStandaloneToken(\.test_stack_create_only_param_file|\.test_stack_create_param_file)|ShellTestUserPassKeystoneV3(\.test_stack_create_only_param_file|\.test_stack_create_param_file)|ShellTestToken(\.test_stack_create_only_param_file|\.test_stack_create_param_file)))'
21 endif
22
23 override_dh_auto_test:
24 echo "Do nothing..."
25
26 override_dh_install:
27 dh_install
28 rm -rf $(CURDIR)/debian/python3-heatclient/usr/heatclient
29 install -D -m 0644 tools/heat.bash_completion $(CURDIR)/debian/python3-heatclient/usr/share/bash-completion/completions/heat
30
31 override_dh_python3:
32 dh_python3 --shebang=/usr/bin/python3