#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pyfaidx

%:
	LC_ALL=C.UTF-8 dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --test --system=custom --test-args='set -e; \
				{interpreter} -m "nose" --with-coverage --cover-package=pyfaidx'
endif

override_dh_compress:
	dh_compress --exclude=gz.tbi
