File: rules

package info (click to toggle)
swift-bench 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 986; makefile: 14; sh: 12
file content (21 lines) | stat: -rwxr-xr-x 470 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

include /usr/share/openstack-pkg-tools/pkgos.make
export PYBUILD_NAME=swift-bench

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

override_dh_auto_install:
	install -D -m 0644 $(CURDIR)/etc/swift-bench.conf-sample $(CURDIR)/debian/swift-bench/etc/swift/swift-bench.conf
	dh_auto_install

override_dh_auto_test:
	pkgos-dh_auto_test 'tests'

override_dh_missing:
	dh_missing --fail-missing

override_dh_clean:
	dh_clean
	rm -rf swiftbench/__pycache__