File: rules

package info (click to toggle)
python-keyczar 0.71d-09062013-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 904 kB
  • ctags: 637
  • sloc: python: 3,146; makefile: 11; sh: 4
file content (23 lines) | stat: -rwxr-xr-x 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

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


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


override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cd $(CURDIR)/tests/keyczar_tests && {interpreter} alltests.py" \
	dh_auto_test ;\
	res=$$? ;\
	[ $$res -eq 0 ] || exit $$res


override_dh_auto_clean:
	dh_auto_clean
	
	rm -rf python_keyczar.egg-info