File: rules

package info (click to toggle)
python-webob 1.6.0-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,184 kB
  • sloc: python: 14,004; makefile: 168
file content (21 lines) | stat: -rwxr-xr-x 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME=webob
#export PYBUILD_VERBOSE=1
#export DH_VERBOSE=1

%:
	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_test:
	# enable network, tests.test_in_wsgiref.test_request_reading needs it
	http_proxy='' dh_auto_test

override_dh_installchangelogs:
	dh_installchangelogs -k CHANGES.txt

override_dh_installdocs:
	dh_installdocs
	[ -d docs/_static ] || mkdir docs/_static # Sphinx needs it
	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ \
		     debian/python-webob-doc/usr/share/doc/python-webob-doc/