#! /usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export PYBUILD_NAME=psygnal
PYBUILD_TEST_ARGS=--ignore=tests/test_qt_compat.py
ifeq (1,$(PYBUILD_AUTOPKGTEST))
PYBUILD_TEST_ARGS += -k 'not (test_decompile_recompile or test_hook_content)'
endif
export PYBUILD_TEST_ARGS
export HATCH_BUILD_HOOKS_ENABLE=1
export PYBUILD_BUILD_ARGS=--verbose
export HATCH_VERBOSE=3

# assume that this one test fails on all 32 bit platforms
ifeq (32,$(DEB_HOST_ARCH_BITS))
export AUDITWHEEL_PLAT=i686
endif

%:
	dh $@ --buildsystem=pybuild
