File: rules

package info (click to toggle)
python-pysnmp4 4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,200 kB
  • ctags: 2,846
  • sloc: python: 18,153; makefile: 166
file content (19 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

export PYBUILD_NAME=pysnmp4

%:
	dh $@ --with python2,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=. sphinx-build -N -q -E -b html docs/source/ \
		debian/python-pysnmp4-doc/usr/share/doc/python-pysnmp4-doc/html/