File: rules

package info (click to toggle)
typedload 2.22-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 676 kB
  • sloc: python: 2,597; makefile: 138
file content (15 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

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

override_dh_link:
	jdupes -rl debian/python3-typedload-doc/usr/share/doc/
	dh_link