File: rules

package info (click to toggle)
python-freecontact 1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 292 kB
  • sloc: cpp: 291; python: 69; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME = freecontact

%:
	dh $@ --with python3 --buildsystem=pybuild --builddirectory=$(CURDIR)/builddir

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="{interpreter} $(CURDIR)/test/test01.py" \
	    dh_auto_test
endif