File: rules

package info (click to toggle)
apipkg 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 188 kB
  • sloc: python: 681; makefile: 7; sh: 4
file content (11 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
export PYBUILD_NAME=apipkg

%:
	dh $@ --buildsystem=pybuild --with python2,python3

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test

override_dh_installdocs:
	dh_installdocs -A README.rst