| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
export PYBUILD_NAME=proton-core |
| 4 |
|
| 5 |
# Tests ignored due to external connection |
| 6 |
export PYBUILD_TEST_ARGS= -v \ |
| 7 |
-k 'not test_bad_pinning_fingerprint_changed \ |
| 8 |
and not test_alternative_routing_works_on_prod \ |
| 9 |
and not test_bad_pinning_url_changed \ |
| 10 |
and not test_without_pinning \ |
| 11 |
and not test_auto_works_on_prod \ |
| 12 |
and not test_ping \ |
| 13 |
and not test_broken_data \ |
| 14 |
and not test_broken_index \ |
| 15 |
and not test_sessions \ |
| 16 |
and not test_raw_ping \ |
| 17 |
and not test_successful' |
| 18 |
|
| 19 |
export PYBUILD_AFTER_TEST=gpgconf --homedir {build_dir}/../.gnupg --kill gpg-agent |
| 20 |
|
| 21 |
%: |
| 22 |
dh $@ --with sphinxdoc --buildsystem=pybuild |
| 23 |
|
| 24 |
# sphinx documentation |
| 25 |
execute_before_dh_sphinxdoc: |
| 26 |
http_proxy='http://127.0.0.1:9/' python3 -m sphinx -d debian/doctrees \ |
| 27 |
-N -bhtml docs/ debian/python-proton-core-doc/usr/share/doc/python-proton-core-doc/html |