#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1

export PYBUILD_NAME = qtpy
export PYBUILD_BEFORE_TEST = cp -r {dir}/qtpy/tests {build_dir}
export PYBUILD_AFTER_TEST = rm -r {build_dir}/tests

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

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
	xvfb-run dh_auto_test
endif
