| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=aioftp |
| 4 |
export PYBUILD_AFTER_INSTALL=rm -rfv {destdir}{install_dir}/.coverage |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --buildsystem=pybuild |
| 8 |
|
| 9 |
override_dh_auto_clean: |
| 10 |
rm -rf .pytest_cache |
| 11 |
dh_auto_clean |
| 12 |
|
| 13 |
override_dh_auto_build: |
| 14 |
dh_auto_build |
| 15 |
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) |
| 16 |
PYTHONPATH=src http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html |
| 17 |
endif |
| 18 |
|
| 19 |
override_dh_auto_test: |
| 20 |
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),) |
| 21 |
dh_auto_test |
| 22 |
endif |