#!/usr/bin/make -f export PYBUILD_NAME=cairocffi export PYBUILD_TEST_PYTEST=1 export PYBUILD_TEST_ARGS=-k "not test_xcb.py" export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*/__pycache__ %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_test: LC_ALL=C.UTF-8 xvfb-run -a --server-args="-screen 0 1024x768x24" dh_auto_test override_dh_auto_build: dh_auto_build python3 -m sphinx -N -bhtml docs/ docs/_build/html override_dh_clean: dh_clean rm -rf docs/_build update_intersphinx_mapping: wget http://docs.python.org/dev/objects.inv -O debian/python.org_objects.inv wget http://cairographics.org/documentation/pycairo/2/objects.inv -O debian/cairographics.org_pycairo2_objects.inv override_dh_compress: dh_compress -Xchangelog.html