File: rules

package info (click to toggle)
python-matplotlib-venn 0.11.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 232 kB
  • ctags: 100
  • sloc: python: 1,766; makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_VERBOSE := 1
export PYBUILD_NAME=matplotlib-venn

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

override_dh_auto_test:
	xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" \
	    dh_auto_test -- --test --system=custom --test-args='cp -a README.rst {home_dir}/build && cd {home_dir}/build && {interpreter} $(CURDIR)/setup.py test && rm README.rst'