#!/usr/bin/make -f

export PYBUILD_NAME = stomper

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

override_dh_install:
	dh_install -XSOURCES.txt

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