File: rules

package info (click to toggle)
flask-session 0.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 192 kB
  • sloc: python: 708; makefile: 165
file content (16 lines) | stat: -rwxr-xr-x 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=flask-session
%:
	dh $@ --with python3,sphinxdoc  --buildsystem=pybuild
#tests are failing for reasons as yet unknown.
override_dh_auto_test:
# Build sphinx HTML documentation
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs/ build/html
# Fix privacy-breach-generic
override_dh_link:
	dh_link
	find debian/python-flask-session-doc/ -name '*.html' -exec sed -i 's/src=/""/g' {} \;
	find debian/python-flask-session-doc/ -name '*.js' -delete