Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 %scip-debian debian send2trash 1.8.3-2 send2trash/rules/`%`().:
4 dh $@ --buildsystem=pybuild
5
6 # Setting HOME may not be necessary, but it will help when the HOME
7 # directory does not exist, for example in some setups when using a
8 # chroot for building.
9 # Some of these tests do not work on overlay filesystems, which are
10 # typically used by sbuild; see my failed attempts at addressing this at
11 # https://github.com/arsenetar/send2trash/issues/67
12 # So we just skip all of the tests in such an environment.
13 override_dh_auto_testscip-debian debian send2trash 1.8.3-2 send2trash/rules/override_dh_auto_test().:
14 if mount | grep -q "on / type overlay"; then \
15 echo "In an overlay environment; skipping tests"; \
16 else \
17 TMPHOME=$$(mktemp -d) && \
18 HOME=$$TMPHOME dh_auto_testscip-debian debian debhelper . dh_auto_test(). && \
19 rm -rf $$TMPHOME; \
20 fi