| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | UPSTREAM_GIT := https://github.com/zaneb/autopage |
| 4 | include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 | |
| 6 | export PYBUILD_TEST_ARGS= -v autopage/tests --ignore autopage/tests/test_end_to_end.py |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild --with python3 |
| 10 | |
| 11 | override_dh_auto_clean: |
| 12 | dh_auto_clean |
| 13 | rm -rf build .stestr .pybuild |
| 14 | find . -iname '*.pyc' -delete |
| 15 | for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done |