1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
%:
# Because of the makefile included in upstream we need to set the
# buildsystem explicitly.
dh --buildsystem=python_distutils $@ --with python2
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
find -name "*.pyc" -o -name "*~" -delete
dh_auto_configure
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
for python in $(shell pyversions -r); do \
PYTHONPATH="." $$python example_consumer/manage.py test --settings=example_consumer.settings django_openid_auth ; \
done
endif
|