| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_ALWAYS_EXCLUDE=__pycache__ |
| 4 | |
| 5 | export DH_VERBOSE=1 |
| 6 | export PYBUILD_VERBOSE=1 |
| 7 | |
| 8 | export LANG=C.UTF-8 |
| 9 | export LC_ALL=C.UTF-8 |
| 10 | |
| 11 | export PYBUILD_NAME=pytest-random-order |
| 12 | |
| 13 | %: |
| 14 | dh $@ --buildsystem=pybuild |
| 15 | |
| 16 | override_dh_auto_test: |
| 17 | |
| 18 | execute_after_dh_auto_install: |
| 19 | # run tests after install: plugin needs to get registered by |
| 20 | # setup.py/entry_points (from python-pytest-pylink) |
| 21 | PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore debian" dh_auto_test |