File: rules

package info (click to toggle)
python-ltfatpy 1.0.16-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 38,508 kB
  • sloc: ansic: 8,546; python: 5,455; makefile: 10; sh: 7
file content (18 lines) | stat: -rwxr-xr-x 453 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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_BEFORE_CONFIGURE=rm -f {dir}/ltfatpy/comp/*.c
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/.coverage {build_dir}/htmlcov

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

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