#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_TEST_CUSTOM=1

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 -m pytest  -v --ignore=tests/test_tarfile.py  \
	-k 'not test_unpack_archive_xztar and not test_unpack_archive_gztar and not test_unpack_archive_tar and not test_unpack_archive_bztar'
endif
