File: rules

package info (click to toggle)
toposort 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 112 kB
  • ctags: 26
  • sloc: python: 193; sh: 40; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=toposort
PYVERS :=  $(shell pyversions -vr)
PY3VERS := $(shell py3versions -vr)

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

override_dh_auto_test:
	set -ex; \
	for py in $(PYVERS) $(PY3VERS); do \
		python$$py setup.py test ; \
	done