File: rules

package info (click to toggle)
python-cligj 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 152 kB
  • ctags: 144
  • sloc: python: 570; makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=cligj

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cd {build_dir}; PYTHONPATH=. {interpreter} -m unittest discover -v" dh_auto_test || echo "Ignoring test failures"