Debian Codegraph @

debian/rules

raw symbols SCIP
1 #! /usr/bin/make -f
2
3 include /usr/share/dpkg/default.mk
4
5 export PYBUILD_NAME=cwl-utils
6
7 export PYBUILD_TEST_ARGS=$(DEB_BUILD_OPTION_PARALLEL:%=-n %) -k 'not (test_load_document_with_remote_uri or test_graph_split or test_remote_packing or test_graph_split_offline or test_graph_split_json_offline)' --pyargs cwl_utils
8 export PYBUILD_TEST_PYTEST=1
9 # test_load_document_with_remote_uri: requires external resource
10 # test_graph_split: requires external resource
11 # test_graph_split_offline: requires cwltool, skip to avoid circular dependency
12 # test_graph_split_json_offline: requires cwltool, skip to avoid circular dependency
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 execute_after_dh_auto_install:
18 PYTHONPATH=$(CURDIR) $(MAKE) docs
19
20 execute_after_dh_install:
21 rm -Rf debian/python3-cwl-utils/usr/bin
22 find debian/python3-cwl-utils -name "*.cwl" | xargs chmod a+x
23 find debian -name LICENSE -delete
24 find debian -name README.rst -delete