File: rules

package info (click to toggle)
pytrainer 2.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,924 kB
  • sloc: python: 15,677; perl: 8,361; xml: 195; makefile: 87; sh: 54
file content (13 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME := pytrainer
export PYBUILD_TEST_CUSTOM := 1
export PYBUILD_TEST_ARGS := \
	TZ=Europe/Kaliningrad LC_CTIME=C \
	{interpreter} -m unittest discover -s {dir}

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

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