File: rules

package info (click to toggle)
astropy-regions 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,120 kB
  • sloc: python: 7,645; makefile: 114; ansic: 69
file content (14 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
#export DH_VERBOSE=1

PYTHON3:=$(shell py3versions -vr)

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

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
	cd .pybuild/cpython3_$*/build && python$* -m pytest

override_dh_auto_test: $(PYTHON3:%=test-python%)
endif