1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
export PYBUILD_NAME=jira
# The tests try to access the Internet.
export PYBUILD_DISABLE=test
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem pybuild
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
override_dh_auto_install:
dh_auto_install
mv debian/python-jira/usr/bin/jirashell debian/python-jira/usr/bin/python2-jirashell
mv debian/python3-jira/usr/bin/jirashell debian/python3-jira/usr/bin/python3-jirashell
|