File: rules

package info (click to toggle)
ccdproc 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,512 kB
  • sloc: python: 10,251; makefile: 117; ansic: 88
file content (17 lines) | stat: -rwxr-xr-x 330 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 DH_VERBOSE=1

PYTHON3:=$(shell py3versions -vr)
export PYBUILD_NAME=ccdproc
export LC_ALL=C.UTF-8


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

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
	python$* setup.py test -vv --args -v

override_dh_auto_test: $(PYTHON3:%=test-python%)
endif