#!/usr/bin/make -f UPSTREAM_GIT = git://github.com/openstack/taskflow.git include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) %: dh $@ --buildsystem=python_distutils --with python2 override_dh_clean: dh_clean -O--buildsystem=python_distutils find . -iname '*.pyc' -delete override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) rm -rf .testrepository testr init set -e ; \ TEMP_REZ=`mktemp -t` ; \ PYTHONPATH=. testr run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \ testr slowest ; \ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $$TEMP_REZ endif