1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
#! /usr/bin/make -f
# most tests needs consul.io to be packaged (FileNotFoundError)
export PYBUILD_TEST_ARGS= -k ' not test_acl_token_permission_denied \
and not test_acl_token_list \
and not test_acl_token_read \
and not test_acl_token_create \
and not test_acl_token_clone \
and not test_acl_token_update \
and not test_acl_policy_list \
and not test_acl_policy_read \
and not test_agent_checks \
and not test_service_multi_check \
and not test_service_dereg_issue_156 \
and not test_agent_checks_service_id \
and not test_agent_register_check_no_service_id \
and not test_agent_register_enable_tag_override \
and not test_agent_service_maintenance \
and not test_agent_node_maintenance \
and not test_agent_members \
and not test_agent_self \
and not test_agent_services \
and not test_coordinate \
and not test_event \
and not test_event_targeted \
and not test_health_service \
and not test_health_state \
and not test_health_service \
and not test_health_state \
and not test_health_node \
and not test_health_checks \
and not test_kv \
and not test_kv_wait \
and not test_kv_encoding \
and not test_kv_put_cas \
and not test_kv_put_flags \
and not test_kv_recurse \
and not test_kv_delete \
and not test_kv_delete_cas \
and not test_kv_acquire_release \
and not test_kv_keys_only \
and not test_kv_acquire_release \
and not test_kv_keys_only \
and not test_operator \
and not test_session \
and not test_session_delete_ttl_renew \
and not test_status_leader \
and not test_status_peers \
and not test_transaction \
and not test_consul_ctor \
and not test_acl_token_delete \
'
export PYBUILD_NAME=python-consul
%:
dh $@ --buildsystem=pybuild
execute_before_dh_installdeb:
rm -rvf debian/python3-consul/usr/lib/python3/dist-packages/docs/
|