File: rules

package info (click to toggle)
dh-make 2.202301
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 372 kB
  • sloc: python: 915; sh: 80; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
#

%:
	dh $@

override_dh_auto_test:
	set -e; \
	for python in $(shell py3versions -s); do \
	    $$python -m pytest; \
	done

execute_after_dh_clean:
	rm -rf .pytest_cache __pycache__