File: rules

package info (click to toggle)
python-roman 2.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 156 kB
  • sloc: python: 334; makefile: 9; sh: 7
file content (13 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=roman

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_BEFORE_TEST="cp -rv {dir}/tests {build_dir}" \
	PYBUILD_TEST_ARGS="cd {build_dir}; python{version} tests/romantest.py --verbose" \
	PYBUILD_AFTER_TEST="rm -rfv {build_dir}/tests" \
	dh_auto_test