File: rules

package info (click to toggle)
errbot 6.2.0%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,848 kB
  • sloc: python: 11,573; makefile: 162; sh: 97
file content (26 lines) | stat: -rwxr-xr-x 661 bytes parent folder | download
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
#!/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"

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