File: rules

package info (click to toggle)
python-mccabe 0.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 120 kB
  • sloc: python: 481; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export PYBUILD_NAME=mccabe

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

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="cd {build_dir} ; {interpreter} -m pytest $(CURDIR)/test_mccabe.py"

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

override_dh_installchangelogs:
	dh_installchangelogs README.rst