3
export REPACK_SH=$(CURDIR)/debian/repack.sh
5
PYTHON2=$(shell pyversions -vr)
6
PYTHON3=$(shell py3versions -vr)
9
dh $@ --with python2,python3
11
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
13
python$* setup.py test -vv
15
override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
19
python$* setup.py build
21
override_dh_auto_build: $(PYTHON3:%=build-python%)
25
python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
27
override_dh_auto_install: $(PYTHON3:%=install-python%)
30
override_dh_auto_clean:
36
uscan --force-download