File: rules

package info (click to toggle)
djvusmooth 0.2.18-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 572 kB
  • ctags: 975
  • sloc: python: 4,968; xml: 99; sh: 66; makefile: 41
file content (19 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck

%:
	dh $@ --with python2

override_dh_auto_install:

override_dh_auto_build:

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e -x; \
	for python in $(shell pyversions -r); do \
		grep --include='*.py' '>>>' -r . -l | \
		xargs $$python /usr/bin/nosetests --with-doctest -v; \
	done
endif