File: rules

package info (click to toggle)
obnam 1.1-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,028 kB
  • sloc: python: 7,866; sh: 725; ansic: 163; makefile: 9
file content (12 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
%:
	dh $@ --with=python2 --with-buildsystem=python_distutils

override_dh_auto_test:
	# fix test permission due to diff not representing permissions
	chmod 755 tests/encryption-replaces-key.script
	python setup.py build_ext -i
	rm -rf build
	cp -a test-gpghome temp.gpghome
	env GNUPGHOME=temp.gpghome python setup.py check --fast
	rm -rf temp.gpghome