#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=geventhttpclient
# the release tarball has no git metadata for setuptools-scm
export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM)
export PYBUILD_TEST_ARGS = --verbose -m 'not network'
# empty values make pybuild drop its dummy proxy, which httplib2 refuses to
# use without python3-socks, failing test_httplib2_compat on localhost
export http_proxy =
export https_proxy =

%:
	dh $@ --buildsystem=pybuild
