File: rules

package info (click to toggle)
python-pysnmp4 4.4.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,476 kB
  • sloc: python: 20,332; makefile: 166; sh: 23
file content (18 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

export PYBUILD_NAME=pysnmp4

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

# There are no unittests, but some documentation string may be
# executed while they are not really unittests.
override_dh_auto_test:

override_dh_installdocs:
	dh_installdocs
	http_proxy=http://127.0.0.1:9 \
	https_proxy=https://127.0.0.1:9 \
	PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs/source/ \
		debian/python-pysnmp4-doc/usr/share/doc/python-pysnmp4-doc/html/