1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=pymodbus
export http_proxy = http://127.0.0.1:9
export https_proxy = https://127.0.0.1:9
%:
dh $@ --buildsystem=pybuild --with python2
override_dh_install:
dh_install -Xez_setup.py
override_dh_installdocs:
dh_installdocs -Xtest/
override_dh_python2:
dh_python2 --no-guessing-deps
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -e ; for pyvers in 2.7; do \
echo WARNING: not running python$$pyvers setup.py test; \
done
endif
|