File: rules

package info (click to toggle)
python-q 2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 108 kB
  • ctags: 75
  • sloc: python: 391; makefile: 36
file content (13 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_VERBOSE=1
export PYBUILD_NAME=q
%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	for python in $(shell pyversions -r) $(shell py3versions -r); do \
		$$python test/test_basic.py -v; \
	done
endif