File: rules

package info (click to toggle)
python-lzo 1.08-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 140 kB
  • ctags: 73
  • sloc: ansic: 252; python: 121; makefile: 31
file content (14 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Force use setup.py build system instead of broken Makefile 
# to build against multiple python version
%:
	dh $@ --with python2 --buildsystem=python_distutils

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -ex ; \
	for python in $(shell pyversions -s); do \
			$$python tests/test.py ; \
	done
endif