File: rules

package info (click to toggle)
profitbricks-sdk-python 4.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 840 kB
  • sloc: python: 6,662; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=profitbricks
PYTHON_FILES = examples profitbricks tests setup.py

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

# Disable test due required network connection
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 -m flake8 --max-line-length=99 $(PYTHON_FILES)
endif

override_dh_missing:
	dh_missing --fail-missing