#!/usr/bin/make -f

export PYBUILD_NAME=anosql


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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# Requires pytest-postgresql not yet in debian
	py.test-3 tests -k 'not test_simple and not test_psycopg2'
endif
