#!/usr/bin/make -f

export PYBUILD_NAME=robot-detection

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -e; \
	for python in $(shell pyversions -r) $(shell py3versions -r); do \
		PYTHONPATH="." $$python setup.py test;\
	done
endif

get-orig-source:
	uscan --verbose --rename
