#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export LANG=C.UTF-8 # Look at upstream Makefile to find examples of how to run the test suite. export PYBUILD_TEST_ARGS=\ --verbose \ -k "not cleannet \ and not test_stdout.py \ and not test_interchange_binding_with_non_ipv4_address" \ --config parsl/tests/configs/local_threads.py # Note that test_stdout.py is skipped due to missing appropriate typeguards. # Also, test_interchange_binding_with_non_ipv4_address is fragile depending on # the content of /etc/hosts. # These items need being cleansed up, otherwise they land at random # places within binary packages. export PYBUILD_AFTER_TEST=\ rm -rvf {build_dir}/pytest-parsl {build_dir}/output.txt \ {build_dir}/hello1.txt {build_dir}/std.out PKGDIR=$(CURDIR)/debian/python3-parsl %: dh $@ --buildsystem=pybuild --with=sphinxdoc execute_after_dh_auto_build: ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) # Build Sphinx documentation. $(MAKE) -C docs/ html # Remove dynamically injected privacy breaches. find docs/_build/html/ -name '*.html' -exec \ sed -i 's@