Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 export DH_VERBOSE = 1
3 export PYBUILD_NAME=errbot
4
5 export PYBUILD_TEST_ARGS=-k "not test_broken_plugin and \
6 not test_backup and \
7 not test_plugin_cycle and \
8 not test_entry_point_plugins_valid_groups and \
9 not test_check_dependencies_requirements_file_all_installed and \
10 not test_manual_flow"
11
12 export PYBUILD_BEFORE_TEST=rm -f {dir}/tests/backend_tests/slack_test.py
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 override_dh_auto_test:
18 localehelper LANG=en_US.UTF-8 dh_auto_test
19
20 override_dh_python3:
21 dh_python3 --depends-section=IRC --depends-section=XMPP
22
23 # dh_installinit registers the init script enabled but not started, so
24 # errbot.service is enabled and left stopped to match. [email protected] is a
25 # template and is enabled per instance by the admin.
26 override_dh_installsystemd:
27 dh_installsystemd --no-start errbot.service
28 dh_installsystemd [email protected]
29
30 override_dh_installinit:
31 dh_installinit --no-start