File: rules

package info (click to toggle)
python-seamicroclient 0.4.0%2B2016.05.20.git.40ee44c664-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 452 kB
  • sloc: python: 2,093; sh: 134; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 538 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
22
#!/usr/bin/make -f

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

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

override_dh_auto_clean:
	rm -rf .testrepository

override_dh_auto_build:
	echo "Do nothing..."

override_dh_auto_install:
	pkgos-dh_auto_install --no-py2 --in-tmp
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	pkgos-dh_auto_test --no-py2 'seamicroclient.tests.(?!(.*functional.*))'
endif

override_dh_auto_test:
	echo "Do nothing..."