Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3
4 UBUNTU_SUGGESTS=python3-h2, python3-httpcore, python3-httpx
5 ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo ubuntu),ubuntu)
6 SUBSTVARS=-V'vendor:Recommends=' -V'vendor:Suggests=$(UBUNTU_SUGGESTS)'
7 else
8 SUBSTVARS=-V'vendor:Recommends=$(UBUNTU_SUGGESTS)' -V'vendor:Suggests='
9 endif
10
11 export NO_INTERNET=1
12 export PYBUILD_NAME=dnspython
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 override_dh_gencontrol:
18 dh_gencontrol -- $(SUBSTVARS)