#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME=errbot

export PYBUILD_TEST_ARGS=-k "not test_broken_plugin and \
	not test_backup and \
	not test_plugin_cycle and \
	not test_entry_point_plugins_valid_groups and \
	not test_check_dependencies_requirements_file_all_installed and \
	not test_manual_flow"

export PYBUILD_BEFORE_TEST=rm -f {dir}/tests/backend_tests/slack_test.py

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	localehelper LANG=en_US.UTF-8 dh_auto_test

override_dh_python3:
	dh_python3 --depends-section=IRC --depends-section=XMPP

override_dh_installsystemd:
	dh_installsystemd errbot@.service

override_dh_installinit:
	dh_installinit --no-start
