File: rules

package info (click to toggle)
python-etelemetry 0.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 228 kB
  • sloc: python: 1,556; makefile: 9; sh: 8
file content (21 lines) | stat: -rwxr-xr-x 523 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

export PYBUILD_NAME=etelemetry
export PYBUILD_TEST_PYTEST = 1

# Should redirect remote access but does not help either
# export https_proxy=http://127.0.0.1:9/

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "All tests trying to access a remote server so the tests are skipped."
endif