File: rules

package info (click to toggle)
python-hglib 2.6.1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 348 kB
  • sloc: python: 2,351; makefile: 20
file content (14 lines) | stat: -rwxr-xr-x 284 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 --with python2,python3 --buildsystem=pybuild $@

build:
	dh --with python2,python3 --buildsystem=pybuild $@

test_%:
	$(MAKE) tests PYTHON=$*

override_dh_auto_test: $(foreach ver, $(shell pyversions -r) $(shell py3versions -r), test_$(ver))

.PHONY: build