File: rules

package info (click to toggle)
mercurial-extension-utils 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 1,385; makefile: 7; sh: 4
file content (13 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME = mercurial-extension-utils
export PYBUILD_TEST_CUSTOM = 1
# HOME must agree with os.path.expanduser("~") and friends while running
# tests.
export PYBUILD_TEST_ARGS = \
	HOME="$$(getent passwd "$$(id -un)" | cut -d: -f6)" \
	{interpreter} -m unittest discover {dir}/tests

%:
	dh $@ --buildsystem=pybuild