File: rules

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

# export DH_VERBOSE=1
export SKBUILD_CMAKE_ARGS=-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON

export MPLBACKEND=Agg
export DEB_BUILD_MAINT_OPTIONS=hardening=+all buildinfo=+path
export PYBUILD_NAME=pysolid
export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=\
 env PYTHONPATH={build_dir} PYSOLID_TEST_DISPLAY=FALSE xvfb-run -a -n 1 -s '-screen 0 1280x1024x24 -dpi 96' \
   python{version} $(CURDIR)/tests/grid.py &&\
 env PYTHONPATH={build_dir} PYSOLID_TEST_DISPLAY=FALSE xvfb-run -a -n 1 -s '-screen 0 1280x1024x24 -dpi 96' \
   python{version} $(CURDIR)/tests/point.py

%:
	dh $@ --buildsystem=pybuild