| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=django_djcelery_email |
| 4 | |
| 5 | # missing test data in sdist; upstream contacted |
| 6 | export PYBUILD_DISABLE=test |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild --with=single-binary |
| 10 | |
| 11 | override_dh_auto_test: |
| 12 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 13 | dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} /usr/bin/django-admin test --settings=tests.settings tests" |
| 14 | endif |