Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://opendev.org/openstack/python-adjutantclient
4 include /usr/share/openstack-pkg-tools/pkgos.make
5
6 %:
7 dh $@ --buildsystem=pybuild --with python3
8
9 override_dh_auto_clean:
10 rm -rf build .stestr
11 rm -f AUTHORS ChangeLog
12
13 override_dh_auto_build:
14 echo "Do nothing..."
15
16 override_dh_auto_test:
17 echo "Do nothing..."
18
19 override_dh_auto_install:
20 pkgos-dh_auto_install --no-py2 --in-tmp
21
22 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
23 pkgos-dh_auto_test --no-py2
24 endif
25
26 override_dh_python3:
27 dh_python3 --shebang=/usr/bin/python3