#!/usr/bin/make -f

UPSTREAM_GIT := https://github.com/FSX/misaka.git
include /usr/share/openstack-pkg-tools/pkgos.make

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

override_dh_clean:
	rm -f src/misaka.c
	dh_clean

override_dh_auto_clean:
	echo "Nothing to do"

override_dh_auto_build:
	python3 setup.py compile_cython

override_dh_auto_install:
	pkgos-dh_auto_install --no-py2

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3
