#! /usr/bin/make -f

export PYBUILD_NAME=cwl-utils

export PYBUILD_TEST_ARGS=-k 'not (test_load_document_with_remote_uri or test_graph_split or test_remote_packing)'
export PYBUILD_TEST_PYTEST=1
# test_load_document_with_remote_uri: requires external resource
# test_graph_split: requires external resource

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_install:
	rm -Rf debian/python3-cwl-utils/usr/bin
	find debian/python3-cwl-utils -name "*.cwl" | xargs chmod a+x
