| 1 |
|
| 2 |
|
| 3 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 4 |
|
| 5 |
%scip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/`%`().: |
| 6 |
dh $@ --with python3 |
| 7 |
|
| 8 |
override_dh_auto_cleanscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/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_buildscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/override_dh_auto_build().: |
| 14 |
echo "Do nothing..." |
| 15 |
|
| 16 |
override_dh_auto_installscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/override_dh_auto_install().: |
| 17 |
pkgos-dh_auto_installscip-debian debian debhelper . dh_auto_install(). --no-py2 --in-tmp |
| 18 |
|
| 19 |
ifeq (,$(filterscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/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_testscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/override_dh_auto_test().: |
| 24 |
echo "Do nothing..." |
| 25 |
|
| 26 |
override_dh_installscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/override_dh_install().: |
| 27 |
dh_installscip-debian debian debhelper . dh_install(). |
| 28 |
rm -rf $(CURDIRscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/CURDIR.)/debian/python3-heatclient/usr/heatclient |
| 29 |
install -D -m 0644 tools/heat.bash_completion $(CURDIRscip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/CURDIR.)/debian/python3-heatclient/usr/share/bash-completion/completions/heat |
| 30 |
|
| 31 |
override_dh_python3scip-debian debian python-heatclient 5.1.0-2 python-heatclient/rules/override_dh_python3().: |
| 32 |
dh_python3scip-debian debian debhelper . dh_python3(). --shebang=/usr/bin/python3 |