#!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. #export DH_VERBOSE = 1 export PYBUILD_NAME=altair # temporarily disable checks. altair needs vega_datasets # but we need it enters into Debian first. # See https://bugs.debian.org/941666 #export DEB_BUILD_OPTIONS=nocheck # Skip test requiring internet connection export PYBUILD_TEST_ARGS=--verbose -k 'not test_render_examples_to_chart and not test_from_and_to_json_roundtrip and not test_save_html' export PYBUILD_BEFORE_TEST=cp -a tools {build_dir} %: #dh $@ --with sphinxdoc --buildsystem=pybuild dh $@ --buildsystem=pybuild # TODO: Most of the html documentation fetches JS scripts from an external # source (cdn.jsdelivr.net). Enable building it just when a local copy of # those scripts becomes available. If ever possible. #override_dh_auto_build: # dh_auto_build # PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator # PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman doc/ build/man # Manpage generator