Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 export PYBUILD_NAME = mercurial-extension-utils
5 export PYBUILD_TEST_CUSTOM = 1
6 # HOME must agree with os.path.expanduser("~") and friends while running
7 # tests.
8 export PYBUILD_TEST_ARGS = \
9 HOME="$$(getent passwd "$$(id -un)" | cut -d: -f6)" \
10 {interpreter} -m unittest discover {dir}/tests
11
12 %:
13 dh $@ --buildsystem=pybuild