| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/default.mk |
| 4 |
|
| 5 |
export PYBUILD_NAMEscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/PYBUILD_NAME.=cwl-utils |
| 6 |
|
| 7 |
export PYBUILD_TEST_ARGSscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/PYBUILD_TEST_ARGS.=$(DEB_BUILD_OPTION_PARALLELscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/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_PYTESTscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/PYBUILD_TEST_PYTEST.=1 |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
%scip-debian debian cwl-utils 0.41-2 cwl-utils/rules/`%`().: |
| 15 |
dh $@ --buildsystem=pybuild |
| 16 |
|
| 17 |
execute_after_dh_auto_installscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/execute_after_dh_auto_install().: |
| 18 |
PYTHONPATH=$(CURDIRscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/CURDIR.) $(MAKEscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/MAKE.) docs |
| 19 |
|
| 20 |
execute_after_dh_installscip-debian debian cwl-utils 0.41-2 cwl-utils/rules/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 |