File: rules

package info (click to toggle)
kalamine 0.38-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 804 kB
  • sloc: python: 2,551; javascript: 1,012; cpp: 506; makefile: 37; sh: 7
file content (15 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@ --buildsystem pybuild


override_dh_auto_test:
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
	# Running the tests require to generate some files first.
	# Use the upstream Makefile and its test target to do that.
	set -e; \
	for python in $(shell py3versions -s); do \
		make test PYTHON3=$$python; \
	done
endif