File: rules

package info (click to toggle)
pytest-mpl 0.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,132 kB
  • sloc: python: 2,514; javascript: 179; makefile: 16
file content (16 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME := pytest-mpl

# Prevent setuptools/distribute from accessing the internet.
export http_proxy := http://127.0.9.1:9

# Use agg Matplotlib backend for testing on headless machines.
export MPLBACKEND := agg

export PYBUILD_TEST_ARGS=-m "mpl_image_compare"
#export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}

%:
	dh $@ --buildsystem=pybuild