| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=pypandoc |
| 4 | %: |
| 5 | dh $@ --buildsystem=pybuild |
| 6 | |
| 7 | override_dh_auto_test: |
| 8 | ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) |
| 9 | set -ex; for py in `py3versions --supported 2>/dev/null`; do \ |
| 10 | echo "Testing with $${py} pytest:" ; \ |
| 11 | $${py} -m pytest tests.py 2>&1 ; \ |
| 12 | done |
| 13 | endif |