File: rules

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

export PYBUILD_NAME = stomper

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

override_dh_install:
	dh_install -XSOURCES.txt

override_dh_auto_test:
ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
	set -e; \
	for py in $(shell pyversions -r) $(shell py3versions -r); do \
		$$py setup.py test; \
	done
endif