File: rules

package info (click to toggle)
python-csa 0.1.12-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 224 kB
  • sloc: python: 2,300; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e; \
	for python in $(shell pyversions -r); do \
		$$python /usr/bin/nosetests ../../tests/test_csa.py; \
	done
endif

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

#override_dh_auto_configure:
#	dh_auto_configure -- --enable-deb --with-python=python3