File: rules

package info (click to toggle)
python-pyghmi 1.0.32-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 844 kB
  • sloc: python: 10,149; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 404 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

UPSTREAM_GIT := https://github.com/openstack/pyghmi.git
include /usr/share/openstack-pkg-tools/pkgos.make

%:
	dh $@ --buildsystem=python_distutils --with python2,python3

override_dh_auto_install:
	pkgos-dh_auto_install

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	pkgos-dh_auto_test
endif

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3