#!/usr/bin/make -f

UPSTREAM_GIT := https://github.com/testing-cabal/testresources.git
include /usr/share/openstack-pkg-tools/pkgos.make

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

override_dh_auto_install:
	pkgos-dh_auto_install --no-py2

override_dh_clean:
	dh_clean
	rm -rf build

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	set -ex ; for i in $(PYTHON3S) ; do \
		python$$i -m testtools.run discover ; \
	done
endif
