File: rules

package info (click to toggle)
python-ltfatpy 1.0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 38,440 kB
  • sloc: ansic: 8,546; python: 5,455; makefile: 12; sh: 9
file content (21 lines) | stat: -rwxr-xr-x 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=ltfatpy
export PYBUILD_AFTER_TEST=cd {build_dir}; rm -rf .coverage htmlcov

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	xvfb-run -a dh_auto_test
endif

override_dh_strip:
	dh_strip --package=python3-$(PYBUILD_NAME) \
		--dbg-package=python3-$(PYBUILD_NAME)-dbg