#!/usr/bin/make -f #export DH_VERBOSE = 1 export HOME=$(CURDIR) export PYBUILD_NAME=mapclassify export PYBUILD_TEST_ARGS=-v \ --ignore=mapclassify/tests/test_greedy.py \ --ignore=mapclassify/tests/test_rgba.py \ --ignore=mapclassify/tests/test_legendgram.py \ --ignore=mapclassify/tests/test_value_by_alpha.py \ --deselect=mapclassify/tests/test_mapclassify.py::TestPlots::test_histogram_plot \ --deselect=mapclassify/tests/test_mapclassify.py::TestPlots::test_histogram_plot_despine \ --deselect=mapclassify/tests/test_mapclassify.py::TestPlots::test_histogram_plot_linewidth %: dh $@ --buildsystem=pybuild # Build sphinx HTML documentation ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) execute_after_dh_auto_build: if ! PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs/ debian/html ; then \ cat /tmp/sphinx-err-*.log ; \ exit 1 ; \ fi endif download_remote_intersphinx_inventories: curl https://matplotlib.org/stable/objects.inv -o debian/intersphinx/matplotlib_objects.inv curl https://geopandas.org/en/stable/objects.inv -o debian/intersphinx/geopandas_objects.inv curl https://networkx.org/documentation/stable/objects.inv -o debian/intersphinx/networkx_objects.inv execute_before_dh_link-indep: jdupes -rl debian/python-mapclassify-doc