File: rules

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

# DH_VERBOSE := 1

export PYBUILD_NAME=scitrack

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest -v"
endif