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

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

# Upstream uses hatch-vcs to derive the version from git metadata,
# which is unavailable in the release tarball.
export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM)

# All tests are doctests embedded in the module itself. Collect them
# from the importable package so that they also run against the
# installed module under autopkgtest-pkg-pybuild.
export PYBUILD_TEST_ARGS = --doctest-modules --pyargs fontPens

%:
	dh $@ --buildsystem=pybuild
