File: rules

package info (click to toggle)
cairocffi 0.7.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 676 kB
  • sloc: python: 2,793; makefile: 19
file content (30 lines) | stat: -rwxr-xr-x 859 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.8.2 at
# Sun, 14 Sep 2014 11:07:37 -0400
export PYBUILD_NAME=cairocffi

export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=-k "not test_xcb.py"
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*/__pycache__

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

override_dh_auto_test:
	LC_ALL=C.UTF-8 xvfb-run -a --server-args="-screen 0 1024x768x24" dh_auto_test

override_dh_auto_build:
	dh_auto_build
	sphinx-build -N -bhtml docs/ docs/_build/html

override_dh_clean:
	dh_clean
	rm -rf docs/_build

update_intersphinx_mapping:
	wget http://docs.python.org/dev/objects.inv -O debian/python.org_objects.inv
	wget http://cairographics.org/documentation/pycairo/2/objects.inv -O debian/cairographics.org_pycairo2_objects.inv

override_dh_compress:
	dh_compress -Xchangelog.html