#!/usr/bin/make -f export PYBUILD_NAME = mockito %: dh $@ --with=python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9 override_dh_auto_build: # Remove the travis-ci image, which raises a lintian # "privacy-breach-generic" warning. sed -i -e '/travis/d' README.rst dh_auto_build -O--buildsystem=pybuild # Generate the HTML and Info documentation. sed -i -e '/travis/d' docs/index.rst $(MAKE) -C docs html info PYTHONPATH=.. override_dh_installdocs: dh_installdocs -p python-mockito-doc --doc-main-package=python3-mockito dh_installdocs -O--buildsystem=pybuild --remaining-packages override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dh_auto_test -O--buildsystem=pybuild py.test-3 endif