File: rules

package info (click to toggle)
python-acora 2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,436 kB
  • ctags: 1,867
  • sloc: python: 987; sh: 13; ansic: 12; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME        := acora
export PYBUILD_BEFORE_TEST := cp -a test.py README.rst {build_dir}/
export PYBUILD_TEST_ARGS   := {interpreter} {build_dir}/test.py
export PYBUILD_AFTER_TEST  := rm -f {build_dir}/test.py {build_dir}/README.rst

override_dh_auto_test: export PYBUILD_SYSTEM=custom
override_dh_auto_test:
	dh_auto_test

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