#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_TEST_ARGS=-k "not test_get_user and \
	not test_ticket_operations and \
	not test_attachments_create and \
	not test_attachments_comment and \
	not test_attachments_reply and \
	not test_ticket_operations_admincc_cc and \
	not test_users and not test_queues and \
	not test_login_and_logout and \
	not test_ticket_attachments and \
	not test_ticket_take"

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


override_dh_auto_build:
	dh_auto_build
	sed -i 's/^release = /release = "$(DEB_VERSION)"  #/' doc/conf.py
	$(MAKE) -C doc html
