File: rules

package info (click to toggle)
authres 1.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 264 kB
  • sloc: python: 891; makefile: 11; sh: 4
file content (18 lines) | stat: -rwxr-xr-x 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

pythons := $(shell py3versions -sv)

%:
	dh $@ --buildsystem=pybuild


execute_before_dh_auto_clean:
	rm -rf build
	rm -rf .pybuild

override_dh_auto_test:
	set -e && for i in $(pythons); do \
	    python$$i -m authres ; \
	    echo "Tested authres with python $$i" ; \
	done