File: rules

package info (click to toggle)
python-keyczar 0.6~b.061709-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 776 kB
  • ctags: 389
  • sloc: python: 1,497; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PYVERS = $(shell pyversions -r -v)

%:
	dh $@

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	set -e ;\
	cd tests/keyczar ;\
	for py in $(PYVERS); do  \
		PYTHONPATH=$(CURDIR)/build/lib python$$py alltests.py; \
	done
endif