aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 235d64e4341cfb3565edbeaa82a19ad367a7223c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

#DH_VERBOSE=1

#PYTHON3=$(shell py3versions -vr)

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build *.egg-info po/aptdaemon.pot

# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# test-python%:
# 	# wait until previous xvfb-run has finished
# 	while [ -e /tmp/.X99-lock ]; do sleep 1; done
# 	xvfb-run python$* setup.py test -vv

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

override_dh_auto_test:
	true