File: rules

package info (click to toggle)
python-proton-core 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: python: 3,574; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 753 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
22
23
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=proton-core

# Tests ignored due to external connection
export PYBUILD_TEST_ARGS= -v \
	-k 'not test_bad_pinning_fingerprint_changed \
	and not test_alternative_routing_works_on_prod \
	and not test_bad_pinning_url_changed \
	and not test_without_pinning \
	and not test_auto_works_on_prod \
	and not test_ping \
	and not test_successful'

export PYBUILD_AFTER_TEST=gpgconf --homedir {build_dir}/../.gnupg --kill gpg-agent

%:
	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-core-doc/usr/share/doc/python-proton-core-doc/html