File: rules

package info (click to toggle)
typedload 2.8-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 348 kB
  • sloc: python: 2,089; makefile: 61
file content (12 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	make mypy
	for pyversion in `py3versions -s`; do \
		$$pyversion -m tests; \
	done
endif