#!/usr/bin/make -f export PYBUILD_NAME=pyftpdlib SKIP_TESTS = not test_functional and not test_functional_ssl ifeq ($(shell nproc),1) SKIP_TESTS += and not test_write_opt endif export PYBUILD_TEST_ARGS = -k '$(SKIP_TESTS)' {dir}/tests %: dh $@ --buildsystem=pybuild execute_after_dh_python3: rm -f ./debian/python3-pyftpdlib/usr/bin/ftpbench execute_after_dh_auto_build: ( cd docs; \ PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -M html . _build )