#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM:+ds=)
export PYBUILD_NAME=metpy
export PYBUILD_BEFORE_TEST=cp {dir}/conftest.py {dir}/tests
export PYBUILD_AFTER_TEST=rm -f {dir}/tests/conftest.py
export PYBUILD_TEST_ARGS=-m "not network"

%:
	dh $@ --buildsystem=pybuild
