File: rules

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

include /usr/share/dpkg/default.mk

export PYBUILD_NAME=pygubu
#export PYBUILD_TEST_ARGS="python{version} -m unittest"

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	HOME=/tmp xvfb-run -a dh_auto_test  \
	     -- --system=custom --test-args="cd tests; {interpreter} -m unittest -v"