File: rules

package info (click to toggle)
python-pluginbase 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 264 kB
  • sloc: python: 520; makefile: 119
file content (12 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=pluginbase

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd tests; PYTHONPATH=.. python2 -m pytest --tb=native
	cd tests; PYTHONPATH=.. python3 -m pytest --tb=native
endif