File: rules

package info (click to toggle)
python-jira 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 664 kB
  • sloc: python: 4,794; makefile: 249; sh: 25; xml: 4
file content (17 lines) | stat: -rwxr-xr-x 538 bytes parent folder | download
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