blob: 98ecd3b34855456bd6cd63f49e5d7f18acbe2f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/make -f
%:
dh $@ --with=python2 --with-buildsystem=python_distutils
override_dh_auto_build:
dh_auto_build
make -C manual html
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
python setup.py build_ext -i
rm -rf build
cp -a test-gpghome temp.gpghome
env GNUPGHOME=temp.gpghome python setup.py check -u
rm -rf temp.gpghome
else
echo NOT RUNNING TESTS DUE TO DEB_BUILD_OPTIONS
endif
|