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

UBUNTU_SUGGESTS=python3-h2, python3-httpcore, python3-httpx
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo ubuntu),ubuntu)
 SUBSTVARS=-V'vendor:Recommends=' -V'vendor:Suggests=$(UBUNTU_SUGGESTS)'
else
 SUBSTVARS=-V'vendor:Recommends=$(UBUNTU_SUGGESTS)' -V'vendor:Suggests='
endif

export NO_INTERNET=1
export PYBUILD_NAME=dnspython

%:
	dh $@ --buildsystem=pybuild

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARS)
