File: rules

package info (click to toggle)
errbot 6.1.7+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,712 kB
  • sloc: python: 13,831; makefile: 164; sh: 97
file content (29 lines) | stat: -rwxr-xr-x 800 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
27
28
29
#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME=errbot
#export PYBUILD_SYSTEM=distutils
export PYBUILD_DESTDIR_python3=debian/python3-errbot/
export PYBUILD_DESTDIR_python3-dbg=debian/python3-errbot-dbg/

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

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

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	python3 setup.py install --root=debian/errbot/ --install-layout=deb
	dh_install

override_dh_auto_test:
	localehelper LANG=en_US.UTF-8 dh_auto_test

override_dh_installsystemd:
	dh_installsystemd errbot@.service

override_dh_installinit:
	dh_installinit --no-start