File: rules

package info (click to toggle)
python-structlog 18.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 872 kB
  • sloc: python: 2,992; makefile: 140
file content (22 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# tests require twisted, run only python2 tests
export PYBUILD_DISABLE=test/python3
export PYBUILD_NAME=structlog
%:
	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_clean:
	make -C docs clean
	dh_auto_clean

override_dh_sphinxdoc:
	cp -a docs/_build/html debian/python-structlog-doc/usr/share/doc/python-structlog-doc/
	dh_sphinxdoc

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. \
	http_proxy=http://127.0.0.1:9 \
	https_proxy=https://127.0.0.1:9 \
	make -C docs html