File: rules

package info (click to toggle)
python-proton-vpn-api-core 0.39.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 892 kB
  • sloc: python: 6,582; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 633 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=proton-vpn-api-core

# The "not test_usage_report_enabled" test is being skipped due to logic not
# being followed, is not correctly reflecting exception catching behavior.
export PYBUILD_TEST_ARGS=-v -k 'not test_usage_report_enabled'
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/htmlcov

%:
	dh $@ --with sphinxdoc --buildsystem=pybuild

# sphinx documentation
execute_before_dh_sphinxdoc:
	http_proxy='http://127.0.0.1:9/' python3 -m sphinx  -d debian/doctrees  \
	-N -bhtml  docs/ debian/python-proton-vpn-api-core-doc/usr/share/doc/python-proton-vpn-api-core-doc/html