| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=commonmark |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} setup.py test" |
| 10 | |
| 11 | override_dh_auto_install: |
| 12 | dh_auto_install |
| 13 | mv $(CURDIR)/debian/python3-commonmark/usr/bin/cmark $(CURDIR)/debian/python3-commonmark/usr/bin/python3-commonmark |