#!/usr/bin/make -f

export PYBUILD_NAME=python-tortilla
export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin

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

PYPI_DESC = A tiny library for creating wrappers around web APIs
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
	help2man = PYTHONPATH=${CURDIR} help2man -N --version-string=${DEB_UPSTREAM_VERSION} \
					-o $1 -n '$2' $(CURDIR)/debian/python-tortilla/usr/bin/$(subst .1,,$1)
