#!/usr/bin/make -f

UPSTREAM_GIT := https://github.com/k-bx/python-semver.git
-include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_NAME=semver

%:
	dh $@ --buildsystem=pybuild --with python3

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
		PYBUILD_TEST_ARGS="cd {build_dir} ; {interpreter} tests/semver_test.py" \
		dh_auto_test

override_dh_clean:
	dh_clean
	rm -rf build
