#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
# Used by debian/generate-manpages.
export DEB_VERSION_UPSTREAM

export PYBUILD_NAME := austin
# Skip tests that require the austin executable.  We might be able to enable
# these later, once austin has been fixed to work with current Python
# versions.
export PYBUILD_TEST_ARGS := \
	--deselect test/test_aio.py::test_async_memory \
	--deselect test/test_aio.py::test_async_terminate \
	--deselect test/test_aio.py::test_async_time \
	--deselect test/test_simple.py::test_simple \
	--deselect test/test_threads.py::test_threaded \
	--deselect test/test_threads.py::test_threaded_terminate

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_installman:
	debian/generate-manpages
