File: rules

package info (click to toggle)
python-proton-vpn-api-core 4.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,312 kB
  • sloc: python: 11,057; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 602 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

# test_connection.py fails due to PermissionError on /run/user (no logind in build env)
export PYBUILD_TEST_ARGS=-v --no-cov \
	--ignore=tests/core/test_connection.py \
	--ignore=tests/networkmanager/openvpn/test_openvpnconfiguration.py

%:
	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