Debian Codegraph @

tests/ta02/debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=foo
4 export PYBUILD_TEST_CUSTOM=1
5 export PYBUILD_TEST_ARGS=touch {dir}/custom-test-executed
6
7 %:
8 dh $@
9
10 override_dh_auto_build:
11 ../../pybuild --build --verbose
12
13 override_dh_auto_install:
14 ../../pybuild --install
15
16 override_dh_auto_test:
17 ../../pybuild --test
18
19 override_dh_auto_clean:
20 ../../pybuild --clean --verbose
21 rm -rf custom-test-executed foo.egg-info
22
23 override_dh_installinit:
24 DH_VERBOSE=1 ../../dh_python3
25 dh_installinit
26
27 override_dh_python3:
28 # ignore any system dh_python3