#!/usr/bin/make -f

export PYBUILD_NAME=pytest-cases

%:
	dh $@ --buildsystem=pybuild

# Do not run pytest while building, because roughly one third of the tests fail
# when the library is not installed. Upon installing the library, all tests
# (except those forcefully skipped with patches) run ok instead in autopkgtest.
override_dh_auto_test:

override_dh_clean:
	dh_clean
	rm -f src/pytest_cases/_version.py
