File: rules

package info (click to toggle)
python-pyngus 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 588 kB
  • sloc: python: 5,425; makefile: 12; sh: 12
file content (18 lines) | stat: -rwxr-xr-x 364 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/kgiusti/pyngus.git
include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_NAME=pyngus

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
		PYBUILD_TEST_ARGS="{interpreter} tests/test-runner" \
		dh_auto_test

override_dh_clean:
	dh_clean
	rm -rf build