debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | export PYBUILD_NAME=django_rich |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_clean: |
| 12 | dh_clean |
| 13 | rm -rf .coverage* |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | # Upstream uses a more agressive call, wont work here |
| 17 | # as at least the package we build isn't installed so |
| 18 | # using a modified pytest call. |
| 19 | dh_auto_test -- --system=custom --test-args="{interpreter} -m coverage run -m pytest tests" |